Date: Fri, 2 Nov 2001 13:20:05 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sysv_ipc.c Message-ID: <200111022120.fA2LK7G50313@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2001/11/02 13:20:05 PST Modified files: sys/kern sysv_ipc.c Log: o Remove (struct proc *p = td->td_proc) indirection in ipcperm(), as suser_td(td) works as well as suser_xxx(NULL, p->p_ucred, 0); This simplifies upcoming changes to suser(), and causes this code to use the right credential (well, largely) once the td->td_ucred changes are complete. There remains some redundancy and oddness in this code, which should be rethought after the next batch of suser and credential changes. Revision Changes Path 1.20 +3 -5 src/sys/kern/sysv_ipc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111022120.fA2LK7G50313>