exorcistkiller at gmail.com
Mon Jul 4 07:12:34 UTC 2011
Hi! I am taking a FreeBSD course this summer and I'm doing a homework. A new
system call uidkill() is to be added. uidkill(uid_t uid, int signum) sends
signal specified by signum to all processes owned by uid, excluding the
calling process itself.
I'm almost done, however I get stuck with priv_check(). If the calling
process is trying to send signal to processes owned by others, permission
should be denied. My implementation simply uses an if (p->p_ucred->cr_uid ==
ksi.ksi_uid) to deny it, however priv_check() is required. My question is:
what privilege a process should have to send signal to processes owned by
View this message in context: http://freebsd.1045724.n5.nabble.com/priv-check-question-tp4549149p4549149.html
Sent from the freebsd-hackers mailing list archive at Nabble.com.
More information about the freebsd-hackers