svn commit: r211534 - head/sys/kern

2010-08-20 Thread David Xu
Author: davidxu Date: Fri Aug 20 23:51:34 2010 New Revision: 211534 URL: http://svn.freebsd.org/changeset/base/211534 Log: make sure thread lock is locked. Modified: head/sys/kern/subr_sleepqueue.c Modified: head/sys/kern/subr_sleepqueue.c

Re: svn commit: r211505 - head/contrib/gcc

2010-08-20 Thread Bruce Evans
On Fri, 20 Aug 2010, Dimitry Andric wrote: On 2010-08-20 00:20, Bruce Evans wrote: These seem to be needed, and some of them valid. Any lvalue arg that can be put in a register can be cast to USItype (unsigned int) on i386. The args are macro args, so they may have any integer type no larger t

svn commit: r211531 - in head/sys: fs/devfs fs/nfsclient fs/nwfs fs/pseudofs fs/smbfs gnu/fs/xfs/FreeBSD kern nfsclient sys ufs/ffs

2010-08-20 Thread John Baldwin
Author: jhb Date: Fri Aug 20 19:46:50 2010 New Revision: 211531 URL: http://svn.freebsd.org/changeset/base/211531 Log: Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and LK_CANRECURSE after a lock is created. Use them to implement macros that otherwise manipulated the fla

Re: svn commit: r211393 - head/lib/libutil

2010-08-20 Thread Dag-Erling Smørgrav
"M. Warner Losh" writes: > Dag-Erling Smørgrav writes: > > "M. Warner Losh" writes: > > > And we're back to the reason for why issetugid() :) > > Does setuid() "untaint" a program? > No. Yet I would argue that it is safe to apply the user's .login_conf after setuid(), so issetugid() is not an a

Re: svn commit: r211393 - head/lib/libutil

2010-08-20 Thread M. Warner Losh
In message: <86bp8xf5u6@ds4.des.no> Dag-Erling Smørgrav writes: : "M. Warner Losh" writes: : > And we're back to the reason for why issetugid() :) : : Does setuid() "untaint" a program? No. Warner ___ svn-src-head@freebsd.org mailing

Re: svn commit: r211393 - head/lib/libutil

2010-08-20 Thread Dag-Erling Smørgrav
"M. Warner Losh" writes: > And we're back to the reason for why issetugid() :) Does setuid() "untaint" a program? DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head

Re: svn commit: r211393 - head/lib/libutil

2010-08-20 Thread M. Warner Losh
In message: <861v9ty7bg@ds4.des.no> Dag-Erling Smørgrav writes: : Attilio Rao writes: : > Dag-Erling Smørgrav writes: : > > Perhaps the test in setusercontext() should be changed to use : > > geteuid() instead of getuid(). : > Yes, I think that it probabilly makes more sense (get

Re: svn commit: r211530 - head/sys/netinet6

2010-08-20 Thread pluknet
On 20 August 2010 21:52, Hajimu UMEMOTO wrote: > Author: ume > Date: Fri Aug 20 17:52:49 2010 > New Revision: 211530 > URL: http://svn.freebsd.org/changeset/base/211530 > > Log: >  optp may be NULL. > > Modified: >  head/sys/netinet6/raw_ip6.c > > Modified: head/sys/netinet6/raw_ip6.c > ==

svn commit: r211530 - head/sys/netinet6

2010-08-20 Thread Hajimu UMEMOTO
Author: ume Date: Fri Aug 20 17:52:49 2010 New Revision: 211530 URL: http://svn.freebsd.org/changeset/base/211530 Log: optp may be NULL. Modified: head/sys/netinet6/raw_ip6.c Modified: head/sys/netinet6/raw_ip6.c ==

svn commit: r211529 - head/sys/cam/scsi

2010-08-20 Thread Matt Jacob
Author: mjacob Date: Fri Aug 20 17:20:05 2010 New Revision: 211529 URL: http://svn.freebsd.org/changeset/base/211529 Log: Revert r211434. Offline discussions have convinced me that this should be left alone for now. Modified: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/scsi_da.

svn commit: r211526 - head/lib/libthr/thread

2010-08-20 Thread David Xu
Author: davidxu Date: Fri Aug 20 13:42:48 2010 New Revision: 211526 URL: http://svn.freebsd.org/changeset/base/211526 Log: Reduce redundant code. Submitted by: kib Modified: head/lib/libthr/thread/thr_sig.c Modified: head/lib/libthr/thread/thr_sig.c =

Re: svn commit: r211393 - head/lib/libutil

2010-08-20 Thread Dag-Erling Smørgrav
Attilio Rao writes: > Dag-Erling Smørgrav writes: > > Perhaps the test in setusercontext() should be changed to use > > geteuid() instead of getuid(). > Yes, I think that it probabilly makes more sense (geteuid() testing in > setusercontext()). What if the user's ~/.login_conf sets a custom PATH