DragonFly commits List (threaded) for 2008-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern uipc_msg.c uipc_socket.c uipc_syscalls.c
aggelos 2008/07/07 07:35:12 PDT
DragonFly src repository
Modified files:
sys/kern uipc_msg.c uipc_socket.c uipc_syscalls.c
Log:
Do copy{in,out} early in the {g,s}etsockopt system call paths
so the rest of the kernel can assume it's dealing with a
kernel address in ->sopt_val. This means that soopt{,_m}copy{in,out}
are now seriously misnamed and should be replaced by soopt_{from,to}_*
Suggested-by: dillon@
Revision Changes Path
1.22 +2 -28 src/sys/kern/uipc_msg.c
1.51 +37 -95 src/sys/kern/uipc_socket.c
1.87 +22 -6 src/sys/kern/uipc_syscalls.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_msg.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.50&r2=1.51&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.86&r2=1.87&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]