Re: FreeBSD Kernel buffer overflow

2004-09-20 Thread gerarra
> which is installed from >src/sys/{alpha,amd64,i386,ia64,etc}/param.h would be a more appropriate >location. There may be cases where you would want to know this value in >userland, in which case including would definitely >not be appropriate. > >My preference would be to name it MAX_SYSCALL_ARG

Re: Editing and compiling FreeBSD source

2004-09-20 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Brooks Davis <[EMAIL PROTECTED]> typed: > [Please don't top post, it loses context.] > > On Mon, Sep 20, 2004 at 02:34:12AM +0300, Andrew Novikov wrote: > > Hi, > > > > Could someone please explan me the difference between: > > > > make buildkernel > > make installkernel

Unified diffs in periodic/security email

2004-09-20 Thread Giorgos Keramidas
I've been running my systems at home and work with the following diff for some time. I tend to prefer the unified diff output format than the default diff -b output. Does anyone else like this? Any ideas for making the diff format configurable in periodic.conf (i.e. to making it easy to switch b

Re: FreeBSD Kernel buffer overflow

2004-09-20 Thread Sam
On Sat, 18 Sep 2004, Mike Meyer wrote: In <[EMAIL PROTECTED]>, Matt Emmerton <[EMAIL PROTECTED]> typed: I disagree. It really comes down to how secure you want FreeBSD to be, and the attitude of "we don't need to protect against this case because anyone who does this is asking for trouble anyway"

[CFR] Fix adduser's recognition of nologin

2004-09-20 Thread Peter Pentchev
Hi, Any objections to the following patch? The rationale is described in PR bin/71786 - http://www.FreeBSD.org/cgi/query-pr.cgi?pr=71786 Basically, the 'exit' inside the 'cat | while' loop does not really exit the fullpath_from_shell() function, so if the admin specifies 'nologin' as the new user

Re: [CFR] Fix adduser's recognition of nologin

2004-09-20 Thread Josef El-Rayes
Peter Pentchev <[EMAIL PROTECTED]>: > I could commit it if no one has any objections. > Index: src/usr.sbin/adduser/adduser.sh > === > RCS file: /home/ncvs/src/usr.sbin/adduser/adduser.sh,v > retrieving revision 1.24 > diff -u -r1.24

Re: [CFR] Fix adduser's recognition of nologin

2004-09-20 Thread Olafur Osvaldsson
Josef, On Mon, 20 Sep 2004, Josef El-Rayes wrote: > hm, i cant see any difference between the removed and added lines. > did i oversee something? The check is moved to a new place in the script. /Oli -- Olafur Osvaldsson Systems Administrator Internet a Islandi hf. Tel: +354 525-5291 Email:

Re: FreeBSD Kernel buffer overflow

2004-09-20 Thread Don Lewis
On 20 Sep, [EMAIL PROTECTED] wrote: >> cat kern_syscalls.diff > --- kern_syscalls.c Sat Sep 18 13:42:21 2004 > +++ kern_syscalls2.cMon Sep 20 14:18:45 2004 > @@ -58,6 +58,16 @@ > syscall_register(int *offset, struct sysent *new_sysent, > struct sysent *old_sysent) > { >

Geode based PC/104 micro board and FreeBSD

2004-09-20 Thread Alex K
Hello, everyone! Recently I've got PCM-5820 single board computer with Geode GX1-300 CPU. Mine is with 32M ram and 512M Compact Flash mapped to secondary IDE master. I have tried numerous times to install FreeBSD on it, but it hangs right after startup. I have tried 4.8, 5.2.1, and CURRENT, ever

Re: Geode based PC/104 micro board and FreeBSD

2004-09-20 Thread soralx
> If I install FreeBSD to CF card on other PC and use this CF card to boot > this machine, it will lockup 5-15 seconds after I login to it on the > console. try booting without ACPI Timestamp: 0x414F3755 [SorAlx] http://cydem.org.ua/ ridin' VN1500-B2 ___

Re: Geode based PC/104 micro board and FreeBSD

2004-09-20 Thread Bruce R. Montague
Hi, very likely you have hit a known issue on the original Geode. In "generic_bcopy" in "i386/support.s" FreeBSD occasionally does a byte-aliged long rep move in the video buffer that locks the geode hard. See the patches at the following (it is a trivial patch): 63.249.85.132 63.249.85.132