Date: Sun, 13 Feb 2005 16:42:08 +0000 (UTC) From: Maxim Sobolev <sobomax@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_signal.c src/sys/kern kern_prot.c kern_sig.c src/sys/compat/linux linux_signal.c src/sys/compat/svr4 svr4_signal.c src/sys/sys proc.h syscallsubr.h src/sys/alpha/osf1 osf1_signal.c Message-ID: <200502131642.j1DGg8iP007697@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2005-02-13 16:42:08 UTC FreeBSD src repository Modified files: sys/i386/ibcs2 ibcs2_signal.c sys/kern kern_prot.c kern_sig.c sys/compat/linux linux_signal.c sys/compat/svr4 svr4_signal.c sys/sys proc.h syscallsubr.h sys/alpha/osf1 osf1_signal.c Log: Split out kill(2) syscall service routine into user-level and kernel part, the former is callable from user space and the latter from the kernel one. Make kernel version take additional argument which tells if the respective call should check for additional restrictions for sending signals to suid/sugid applications or not. Make all emulation layers using non-checked version, since signal numbers in emulation layers can have different meaning that in native mode and such protection can cause misbehaviour. As a result remove LIBTHR from the signals allowed to be delivered to a suid/sugid application. Requested (sorta) by: rwatson MFC after: 2 weeks Revision Changes Path 1.39 +1 -1 src/sys/alpha/osf1/osf1_signal.c 1.49 +1 -1 src/sys/compat/linux/linux_signal.c 1.31 +1 -1 src/sys/compat/svr4/svr4_signal.c 1.34 +1 -1 src/sys/i386/ibcs2/ibcs2_signal.c 1.193 +4 -5 src/sys/kern/kern_prot.c 1.299 +22 -11 src/sys/kern/kern_sig.c 1.417 +4 -2 src/sys/sys/proc.h 1.24 +2 -0 src/sys/sys/syscallsubr.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502131642.j1DGg8iP007697>