strange problem with int64_t variables

Gabor Kovesdan gabor at FreeBSD.org
Sun Jul 11 16:05:54 UTC 2010


Em 2010.07.11. 17:33, mdf at FreeBSD.org escreveu:
> What does struct killjob_args look like?
>    
It's just what make sysent generated:

+struct killjob_args {
+	char jid_l_[PADL_(__jid_t)]; __jid_t jid; char jid_r_[PADR_(__jid_t)];
+	char signal_l_[PADL_(int)]; int signal; char signal_r_[PADR_(int)];
+};


> Is this syscall defined in a module, or an addition to the kernel's
> syscalls.master?
>    
In syscalls.master:

+	{ AS(makenewjob_args), (sy_call_t *)makenewjob, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 523 = makenewjob */
+	{ AS(killjob_args), (sy_call_t *)killjob, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 524 = killjob */
+	{ 0, (sy_call_t *)getjid, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },		/* 525 = getjid */
+	{ AS(getjlimit_args), (sy_call_t *)getjlimit, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 526 = getjlimit */
+	{ AS(setjlimit_args), (sy_call_t *)setjlimit, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 527 = setjlimit */


> Is the user-space 32-bit or 64-bit?  What about the kernel?
>    
Both are 32-bit.

Gabor


More information about the freebsd-hackers mailing list