cvs commit: src/sys/netipsec keysock.c

2007-11-20 Thread Bjoern A. Zeeb
bz 2007-11-20 09:35:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netipsec keysock.c Log: MFC: rev. 1.20 sys/netipsec/keysock.c Move the priv check before the malloc call for so_pcb. In case attach fails because of the pri

cvs commit: src/sys/netipsec keysock.c

2007-11-16 Thread Bjoern A. Zeeb
bz 2007-11-16 22:35:33 UTC FreeBSD src repository Modified files: sys/netipsec keysock.c Log: Move the priv check before the malloc call for so_pcb. In case attach fails because of the priv check we leaked the memory and left so_pcb as fodder for invariants.

cvs commit: src/sys/netipsec keysock.c

2007-11-14 Thread Bjoern A. Zeeb
bz 2007-11-14 11:52:44 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netipsec keysock.c Log: MFC: rev 1.19 sys/netipsec/keysock.c Add a missing priv check in key_attach to prevent non-su users from messing with the spdb and sadb.

cvs commit: src/sys/netipsec keysock.c

2007-11-12 Thread Bjoern A. Zeeb
bz 2007-11-12 23:47:48 UTC FreeBSD src repository Modified files: sys/netipsec keysock.c Log: Add a missing priv check in key_attach to prevent non-su users from messing with the spdb and sadb. Problem sneaked in with the fast_ipsec+v6->ipsec merger by no lo

Re: cvs commit: src/sys/netipsec keysock.c

2006-07-22 Thread Robert Watson
On Sat, 22 Jul 2006, George V. Neville-Neil wrote: gnn 2006-07-22 09:18:02 UTC FreeBSD src repository Modified files: sys/netipsec keysock.c Log: Fix build breakage from previous commit which confused key_abort and key_close. Thanks for fixing that -- sorry about the

cvs commit: src/sys/netipsec keysock.c

2006-07-22 Thread George V. Neville-Neil
gnn 2006-07-22 09:18:02 UTC FreeBSD src repository Modified files: sys/netipsec keysock.c Log: Fix build breakage from previous commit which confused key_abort and key_close. Revision ChangesPath 1.17 +1 -1 src/sys/netipsec/keysock.c ___

Re: cvs commit: src/sys/netipsec keysock.c

2006-04-04 Thread Robert Watson
On Tue, 4 Apr 2006, Dima Dorfman wrote: dd 2006-04-04 10:11:16 UTC FreeBSD src repository Modified files: sys/netipsec keysock.c Log: Remove unused variables s and error in key_detach. The previous revision removed their usage but did not remove the declaration. This

cvs commit: src/sys/netipsec keysock.c

2006-04-04 Thread Dima Dorfman
dd 2006-04-04 10:11:16 UTC FreeBSD src repository Modified files: sys/netipsec keysock.c Log: Remove unused variables s and error in key_detach. The previous revision removed their usage but did not remove the declaration. This caused a warning in my build, which