Em 2010.07.11. 17:33, [email protected] 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"