Date: Fri, 4 May 2001 21:05:03 +0200 (CEST) From: Paul Herman <pherman@frenchfries.net> To: <freebsd-stable@FreeBSD.ORG> Subject: Re: sbsize in /etc/login.conf behaving strangely Message-ID: <Pine.BSF.4.33.0105042100480.9937-100000@husten.security.at12.de> In-Reply-To: <Pine.BSF.4.33.0105042028110.9937-100000@husten.security.at12.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 May 2001, Paul Herman wrote: > This is getting strange: > > bash-2.04$ grep sbsize /etc/login.conf > :sbsize=4096K:\ > bash-2.04$ id > uid=1000(pherman) gid=1000(users) groups=1000(users) > bash-2.04$ limits -U pherman | grep sbsize > sbsize 4096 bytes > bash-2.04$ limits | grep sbsize > sbsize 4194304 bytes It seems that limits.c has a typo. Can someone commit the following patch? You could also maybe followup to conf/19750 which missed this. Index: limits.c =================================================================== RCS file: /home/ncvs/src/usr.bin/limits/limits.c,v retrieving revision 1.7.2.1 diff -u -r1.7.2.1 limits.c --- limits.c 2000/07/02 09:50:17 1.7.2.1 +++ limits.c 2001/05/04 18:48:11 @@ -200,7 +200,7 @@ { "memorylocked", login_getcapsize }, { "maxproc", login_getcapnum }, { "openfiles", login_getcapnum }, - { "sbsize", login_getcapnum } + { "sbsize", login_getcapsize } }; /* I've patched my local system, and will see over the next couple of days if any problems come up. -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0105042100480.9937-100000>