RE: smp wolk vs. java

"Mike Bethune" <[email protected]> Tue, 18 May 2004 19:25:25 -0700
Newsgroups gmane.linux.wolk.devel
Message-ID <[email protected]>
> From: Marc-Christian Petersen [mailto:[email protected]]

> > actually I've tried both, and now I have found what it is! ack.
> > CONFIG_GRKERNSEC_PROC
> > i have simply added the user to the group I have configed for:
> > CONFIG_GRKERNSEC_PROC_GID
> > giving it the rights to view things in /proc and now it is working!
> > I guess for an smp system it wants to read /proc/cpuinfo, 
> otherwise it
> > doesn't care? java is stupid
> 
> muahahahahahahahahahahaahahah. ROTFL! In 10 years I'd never 
> ever had this idea 
> that this option is causing that. _never_. Holy shit. How on 
> earth did you 
> figure that out? :-))) ... Good job!!

heheh, mostly by accident of course...
thanks for the long list of suggestions though, wouldn't have found it otherwise since I wouldn't have been compelled to try anything else ;)

> 
> > I only saw pre17 there and it has a few compile problems that you've
> > probably fixed since then so I didn't try it further...
> 
> yeah, kernel.org is currently bombed with fedora core 2 
> downloads :( and 
> moving things to the mirrors. Maybe -pre19 will come up 
> tomorrow :( Dunno.
> 
> What compile problems? I'd like to know them :)

oh well, lots of these warnings:
/opt/src/linux-2.4.20--wolk4.15s-pre17/include/linux/brlock.h:87: warning: `always_inline' attribute directive ignored

and it died on this grsec acl thing:
gcc -D__KERNEL__ -I/opt/src/linux-2.4.20--wolk4.15s-pre17/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wno-unused -finline-l
imit=2000 -Os -fomit-frame-pointer -pipe -fomit-frame-pointer -mpreferred-stack-boundary=2 -march=i686    -nostdinc -iwithprefix include -DKBUILD_BASENAME=gracl
-c -o gracl.o gracl.c
In file included from /opt/src/linux-2.4.20--wolk4.15s-pre17/include/linux/swap.h:6,
                 from /opt/src/linux-2.4.20--wolk4.15s-pre17/include/linux/mm.h:31,
                 from gracl.c:9:
/opt/src/linux-2.4.20--wolk4.15s-pre17/include/linux/brlock.h:87: warning: `always_inline' attribute directive ignored
/opt/src/linux-2.4.20--wolk4.15s-pre17/include/linux/brlock.h:100: warning: `always_inline' attribute directive ignored
/opt/src/linux-2.4.20--wolk4.15s-pre17/include/linux/brlock.h:170: warning: `always_inline' attribute directive ignored
/opt/src/linux-2.4.20--wolk4.15s-pre17/include/linux/brlock.h:178: warning: `always_inline' attribute directive ignored
gracl.c: In function `gr_proc_handler':
gracl.c:1560: `CONFIG_GRKERNSEC_ACL_MAXTRIES' undeclared (first use in this function)
gracl.c:1560: (Each undeclared identifier is reported only once
gracl.c:1560: for each function it appears in.)
gracl.c:1565: `CONFIG_GRKERNSEC_ACL_TIMEOUT' undeclared (first use in this function)
make[2]: *** [gracl.o] Error 1
make[2]: Leaving directory `/opt/src/linux-2.4.20--wolk4.15s-pre17/grsecurity'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/opt/src/linux-2.4.20--wolk4.15s-pre17/grsecurity'
make: *** [_dir_grsecurity] Error 2

config:
CONFIG_GRKERNSEC_PAX_NO_ACL_FLAGS=y
# CONFIG_GRKERNSEC_PAX_HAVE_ACL_FLAGS is not set
# CONFIG_GRKERNSEC_PAX_HOOK_ACL_FLAGS is not set
# CONFIG_GRKERNSEC_ACL is not set


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
_______________________________________________
WOLK - Working Overloaded Linux Kernel
[email protected]
https://lists.sourceforge.net/lists/listinfo/wolk-devel