]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
getpgid() and getsid() were doing a comparision rather than an assignment,
authorDon Lewis <truckman@FreeBSD.org>
Sun, 13 Dec 1998 07:07:51 +0000 (07:07 +0000)
committerDon Lewis <truckman@FreeBSD.org>
Sun, 13 Dec 1998 07:07:51 +0000 (07:07 +0000)
commit65de0c7a93cadd3cc62506d1836e93b0eff92d0a
tree24a1cb2f518139c658360b911534a2ea2e020dad
parentd6a2c91a12837e46842f16280a905bbf3f4c2285
getpgid() and getsid() were doing a comparision rather than an assignment,
which is fortunate, because otherwise another bug would allow them to be
used to stomp on the syscall return value of another process.
sys/kern/kern_prot.c