Re: Compiling kernel with gcc43

2010-03-26 Thread Jille Timmermans
Op 26-3-2010 17:17, jhell schreef: On Fri, 26 Mar 2010 09:01, Jille Timmermans wrote: In Message-Id: <4bacb021.9000...@quis.cx> Op 25-3-2010 18:31, Garrett Cooper schreef: -Wno-error . -Garrett I tried building world with it; but it doesn't seem to work :( [q...@istud /usr/s

Re: Compiling kernel with gcc43

2010-03-26 Thread Jille Timmermans
Op 25-3-2010 18:31, Garrett Cooper schreef: -Wno-error . -Garrett I tried building world with it; but it doesn't seem to work :( [q...@istud /usr/src]$ CFLAGS="-Wno-error -Garrett" make buildworld [snip] cc: unrecognized option '-Garrett' ;) -- Jille __

Re: Suggestion: rename "killall" to "fkill", but wait five years to phase the new name in

2009-12-22 Thread Jille Timmermans
You forgot to mention that we should wait ten years; and after that change it's name to "killall" Stephen Montgomery-Smith schreef: > I would like to introduce a program into the base called > "screw-the-whole-system." It would do something like this: > > while true; do \ > echo "Please wait whil

Re: pahole - Finding holes in kernel structs

2009-02-12 Thread Jille Timmermans
Julian Stacey schreef: 1) Is it worth my time trying to rearrange structs? I wondered whether as a sensitivity test, some version of gcc (or its competitor ?) might have capability to automatically re-order variables ? but found nothing in man gcc "Optimization Options". There is a __packed at

Re: missing mount_devfs

2008-12-17 Thread Jille Timmermans
# alias mount_devfs="mount -t devfs" (human: try mount -t devfs instead of mount_devfs) -- Jille (I think freebsd-questions is the appropriate list for this) oxy schreef: > hi! > > I installed 7.0-RELEASE/amd64 and tried to create a jail with jailctl. > after a couple errors i noticed that moun

Re: sleep is not working to avoid starvation among threads of same priority

2008-10-07 Thread Jille Timmermans
Hello, Take a look at pthread_yield(): DESCRIPTION The pthread_yield() forces the running thread to relinquish the processor until it again becomes the head of its thread list. (Note that it is not portable) And if you want to use sleep, I found out that using sleep with more ms doe

Filtering items in readdir() with own fs

2008-09-11 Thread Jille Timmermans
Hello all, I am trying to create a filesystem that works exactly like nullfs, but hides all .svn dirs (and contents) (Yes, I started with svn cp). I've got it working so far that it denies that the dirs and contents exist (grep isn't complaining; so I can finally grep -r through the source). But

readdir(somefile) returing inconsistent errors

2008-09-11 Thread Jille Timmermans
Hello, I was looking through some vop_readdir()'s, and noticed an inconsistency between (at least) xfs and unionfs. sys/fs/unionfs/union_vnops.c:1410: if(ap->a_vp->v_type != VDIR) return (ENOTDIR); sys/fs/xfs/FreeBSD/xfs_vnops.c:1001: if(vp->v_type != VDIR)

Re: command-line bittorrent utility

2008-06-26 Thread Jille Timmermans
(enhanced) ctorrent Kris Kennaway schreef: I am looking for a command-line utility that can fetch via bittorrent that a) doesn't use curses. It must be usable in a script and without a tty! b) doesn't use X11. Must be a command-line utility! c) Must be able to inform the script when the tr

Trying (not) to crash with libpthread (6.3-RELEASE)

2008-05-16 Thread Jille Timmermans
Hello, I'm trying to catch SIGSEGV, to be able to run 'unchecked' (possibly crashing) code. And not letting the entire program die, but just kill that thread. So I wrote some testing code. But, I ran into a problem; the signal-handler does not work when a thread is created (or something like t