Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-18 Thread Bodo Eggert
Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > On 1/18/07, Russell King <[EMAIL PROTECTED]> wrote: >> On Thu, Jan 18, 2007 at 01:58:52PM +0100, Bernhard Walle wrote: >> > 2. Set command_line as __initdata. >> You can't. >> >> > -static char command_line[COMMAND_LINE_SIZE]; >> > +static char __initdata

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-18 Thread Bodo Eggert
Alon Bar-Lev [EMAIL PROTECTED] wrote: On 1/18/07, Russell King [EMAIL PROTECTED] wrote: On Thu, Jan 18, 2007 at 01:58:52PM +0100, Bernhard Walle wrote: 2. Set command_line as __initdata. You can't. -static char command_line[COMMAND_LINE_SIZE]; +static char __initdata

Re: O_DIRECT question

2007-01-17 Thread Bodo Eggert
On Tue, 16 Jan 2007, Arjan van de Ven wrote: > On Tue, 2007-01-16 at 21:26 +0100, Bodo Eggert wrote: > > Helge Hafting <[EMAIL PROTECTED]> wrote: > > > Michael Tokarev wrote: > > >> But seriously - what about just disallowing non-O_DIRECT open

Re: O_DIRECT question

2007-01-17 Thread Bodo Eggert
On Tue, 16 Jan 2007, Arjan van de Ven wrote: On Tue, 2007-01-16 at 21:26 +0100, Bodo Eggert wrote: Helge Hafting [EMAIL PROTECTED] wrote: Michael Tokarev wrote: But seriously - what about just disallowing non-O_DIRECT opens together with O_DIRECT ones ? Please do not create

Re: O_DIRECT question

2007-01-16 Thread Bodo Eggert
Helge Hafting <[EMAIL PROTECTED]> wrote: > Michael Tokarev wrote: >> But seriously - what about just disallowing non-O_DIRECT opens together >> with O_DIRECT ones ? >> > Please do not create a new local DOS attack. > I open some important file, say /etc/resolv.conf > with O_DIRECT and just sit

Re: O_DIRECT question

2007-01-16 Thread Bodo Eggert
Helge Hafting [EMAIL PROTECTED] wrote: Michael Tokarev wrote: But seriously - what about just disallowing non-O_DIRECT opens together with O_DIRECT ones ? Please do not create a new local DOS attack. I open some important file, say /etc/resolv.conf with O_DIRECT and just sit on the open

Re: O_DIRECT question

2007-01-14 Thread Bodo Eggert
Bill Davidsen <[EMAIL PROTECTED]> wrote: > My point is, that there is code to handle sparse data now, without > O_DIRECT involved, and if O_DIRECT bypasses that, it's not a problem > with the idea of O_DIRECT, the kernel has a security problem. The idea of O_DIRECT is to bypass the pagecache,

Re: O_DIRECT question

2007-01-14 Thread Bodo Eggert
On Sat, 13 Jan 2007, Bill Davidsen wrote: > Bodo Eggert wrote: > > > (*) This would allow fadvise_size(), too, which could reduce fragmentation > > (and give an early warning on full disks) without forcing e.g. fat to > > zero all blocks. OTOH, fadvise_size() woul

Re: O_DIRECT question

2007-01-14 Thread Bodo Eggert
On Sat, 13 Jan 2007, Bill Davidsen wrote: Bodo Eggert wrote: (*) This would allow fadvise_size(), too, which could reduce fragmentation (and give an early warning on full disks) without forcing e.g. fat to zero all blocks. OTOH, fadvise_size() would allow users to reserve

Re: O_DIRECT question

2007-01-14 Thread Bodo Eggert
Bill Davidsen [EMAIL PROTECTED] wrote: My point is, that there is code to handle sparse data now, without O_DIRECT involved, and if O_DIRECT bypasses that, it's not a problem with the idea of O_DIRECT, the kernel has a security problem. The idea of O_DIRECT is to bypass the pagecache, and the

Re: O_DIRECT question

2007-01-13 Thread Bodo Eggert
Linus Torvalds <[EMAIL PROTECTED]> wrote: > On Sat, 13 Jan 2007, Michael Tokarev wrote: >> (No, really - this load isn't entirely synthetic. It's a typical database >> workload - random I/O all over, on a large file. If it can, it combines >> several I/Os into one, by requesting more than a

Re: O_DIRECT question

2007-01-13 Thread Bodo Eggert
Linus Torvalds [EMAIL PROTECTED] wrote: On Sat, 13 Jan 2007, Michael Tokarev wrote: (No, really - this load isn't entirely synthetic. It's a typical database workload - random I/O all over, on a large file. If it can, it combines several I/Os into one, by requesting more than a single block

Re: O_DIRECT question

2007-01-11 Thread Bodo Eggert
Nick Piggin <[EMAIL PROTECTED]> wrote: > Aubrey wrote: >> On 1/11/07, Nick Piggin <[EMAIL PROTECTED]> wrote: >>> What you _really_ want to do is avoid large mallocs after boot, or use >>> a CPU with an mmu. I don't think nommu linux was ever intended to be a >>> simple drop in replacement for a

Re: O_DIRECT question

2007-01-11 Thread Bodo Eggert
Nick Piggin [EMAIL PROTECTED] wrote: Aubrey wrote: On 1/11/07, Nick Piggin [EMAIL PROTECTED] wrote: What you _really_ want to do is avoid large mallocs after boot, or use a CPU with an mmu. I don't think nommu linux was ever intended to be a simple drop in replacement for a normal unix

Re: [PATCH] include/linux/slab.h: new KFREE() macro.

2007-01-08 Thread Bodo Eggert
Amit Choudhary <[EMAIL PROTECTED]> wrote: > --- Christoph Hellwig <[EMAIL PROTECTED]> wrote: >> On Sun, Jan 07, 2007 at 12:46:50AM -0800, Amit Choudhary wrote: >> > Well, I am not proposing this as a debugging aid. The idea is about correct >> > programming, >> atleast >> > from my view. Ideally,

Re: [PATCH] include/linux/slab.h: new KFREE() macro.

2007-01-08 Thread Bodo Eggert
Amit Choudhary [EMAIL PROTECTED] wrote: --- Christoph Hellwig [EMAIL PROTECTED] wrote: On Sun, Jan 07, 2007 at 12:46:50AM -0800, Amit Choudhary wrote: Well, I am not proposing this as a debugging aid. The idea is about correct programming, atleast from my view. Ideally, if you kfree(x),

Re: Finding hardlinks

2007-01-05 Thread Bodo Eggert
Miklos Szeredi <[EMAIL PROTECTED]> wrote: >> > Well, sort of. Samefile without keeping fds open doesn't have any >> > protection against the tree changing underneath between first >> > registering a file and later opening it. The inode number is more >> >> You only need to keep

RFC: Stable inodes for inode-less filesystems (was: Finding hardlinks)

2007-01-05 Thread Bodo Eggert
Pavel Machek <[EMAIL PROTECTED]> wrote: >> Another idea is to export the filesystem internal ID as an arbitray >> length cookie through the extended attribute interface. That could be >> stored/compared by the filesystem quite efficiently. > > How will that work for FAT? > Or maybe we can

Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values

2007-01-05 Thread Bodo Eggert
Eric Sandeen <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: >> +++ a/fs/bad_inode.c >> -static int return_EIO(void) >> +static long return_EIO(void) > What about ops that return loff_t (64 bits) on 32-bit arches and stuff > it into 2 registers *If* it uses an additional register for the

Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values

2007-01-05 Thread Bodo Eggert
Eric Sandeen [EMAIL PROTECTED] wrote: Andrew Morton wrote: +++ a/fs/bad_inode.c -static int return_EIO(void) +static long return_EIO(void) What about ops that return loff_t (64 bits) on 32-bit arches and stuff it into 2 registers *If* it uses an additional register for the high bits,

RFC: Stable inodes for inode-less filesystems (was: Finding hardlinks)

2007-01-05 Thread Bodo Eggert
Pavel Machek [EMAIL PROTECTED] wrote: Another idea is to export the filesystem internal ID as an arbitray length cookie through the extended attribute interface. That could be stored/compared by the filesystem quite efficiently. How will that work for FAT? Or maybe we can relax that

Re: Finding hardlinks

2007-01-05 Thread Bodo Eggert
Miklos Szeredi [EMAIL PROTECTED] wrote: Well, sort of. Samefile without keeping fds open doesn't have any protection against the tree changing underneath between first registering a file and later opening it. The inode number is more You only need to keep one-file-per-hardlink-group

Re: open(O_DIRECT) on a tmpfs?

2007-01-04 Thread Bodo Eggert
Michael Tokarev <[EMAIL PROTECTED]> wrote: > I wonder why open() with O_DIRECT (for example) bit set is > disallowed on a tmpfs (again, for example) filesystem, > returning EINVAL. > > Yes, the question may seems strange a bit, because of two > somewhat conflicting reasons. First, there's no

Re: open(O_DIRECT) on a tmpfs?

2007-01-04 Thread Bodo Eggert
Michael Tokarev [EMAIL PROTECTED] wrote: I wonder why open() with O_DIRECT (for example) bit set is disallowed on a tmpfs (again, for example) filesystem, returning EINVAL. Yes, the question may seems strange a bit, because of two somewhat conflicting reasons. First, there's no reason to

Re: Shrink the held_lock struct by using bitfields.

2007-01-02 Thread Bodo Eggert
Dave Jones <[EMAIL PROTECTED]> wrote: > Shrink the held_lock struct by using bitfields. > This shrinks task_struct on lockdep enabled kernels by 480 bytes. > * The following field is used to detect when we cross into an > * interrupt context: > */ > - int

Re: Open letter to Linux kernel developers (was Re: Binary Drivers)

2007-01-02 Thread Bodo Eggert
David Weinehall <[EMAIL PROTECTED]> wrote: > On Tue, Jan 02, 2007 at 08:22:21AM -0500, Robert P. J. Day wrote: >> 1) mcdonald's was not merely serving their coffee "hot," but >> *scalding* hot (180 to 190 degrees Fahrenheit), a temperature that >> will produce third-degree burns almost

Re: Open letter to Linux kernel developers (was Re: Binary Drivers)

2007-01-02 Thread Bodo Eggert
David Weinehall [EMAIL PROTECTED] wrote: On Tue, Jan 02, 2007 at 08:22:21AM -0500, Robert P. J. Day wrote: 1) mcdonald's was not merely serving their coffee hot, but *scalding* hot (180 to 190 degrees Fahrenheit), a temperature that will produce third-degree burns almost immediately, and

Re: Shrink the held_lock struct by using bitfields.

2007-01-02 Thread Bodo Eggert
Dave Jones [EMAIL PROTECTED] wrote: Shrink the held_lock struct by using bitfields. This shrinks task_struct on lockdep enabled kernels by 480 bytes. * The following field is used to detect when we cross into an * interrupt context: */ - int irq_context;

Re: Want comments regarding patch

2006-12-29 Thread Bodo Eggert
Jan Engelhardt <[EMAIL PROTECTED]> wrote: > On Dec 29 2006 07:57, Daniel Marjamäki wrote: >> It was my goal to improve the readability. I failed. >> >> I personally prefer to use standard functions instead of writing code. >> In my opinion using standard functions means less code that is easier

Re: Want comments regarding patch

2006-12-29 Thread Bodo Eggert
Jan Engelhardt [EMAIL PROTECTED] wrote: On Dec 29 2006 07:57, Daniel Marjamäki wrote: It was my goal to improve the readability. I failed. I personally prefer to use standard functions instead of writing code. In my opinion using standard functions means less code that is easier to read.

Re: two architectures,same source tree

2006-12-22 Thread Bodo Eggert
Jörn Engel <[EMAIL PROTECTED]> wrote: > On Wed, 20 December 2006 20:32:20 +0200, Yakov Lerner wrote: >> Is it easily possible to build two architectures in >> the same source tree (so that intermediate fles >> and resut files do not interfere ) ? > > I'd try something like this: > make O=../foo

Re: two architectures,same source tree

2006-12-22 Thread Bodo Eggert
Jörn Engel [EMAIL PROTECTED] wrote: On Wed, 20 December 2006 20:32:20 +0200, Yakov Lerner wrote: Is it easily possible to build two architectures in the same source tree (so that intermediate fles and resut files do not interfere ) ? I'd try something like this: make O=../foo ARCH=foo

Re: [RFC][PATCH] Pseudo-random number generator

2006-12-01 Thread Bodo Eggert
Alan <[EMAIL PROTECTED]> wrote: > On Fri, 01 Dec 2006 16:20:46 +0100 > Jan Glauber <[EMAIL PROTECTED]> wrote: >> Yes, a user can just symlink urandom to prandom and will have a faster >> generator. > > > More usefully they can use it as an entropy source with an entropy > daemon to feed it into

Re: [RFC][PATCH] Pseudo-random number generator

2006-12-01 Thread Bodo Eggert
Alan [EMAIL PROTECTED] wrote: On Fri, 01 Dec 2006 16:20:46 +0100 Jan Glauber [EMAIL PROTECTED] wrote: Yes, a user can just symlink urandom to prandom and will have a faster generator. More usefully they can use it as an entropy source with an entropy daemon to feed it into the standard

Re: kbuild & C++

2005-09-07 Thread Bodo Eggert
Budde, Marco <[EMAIL PROTECTED]> wrote: > for one of our customers I have to port a Windows driver to > Linux. Large parts of the driver's backend code consists of > C++. > > How can I compile this code with kbuild? The C++ support > (I have tested with 2.6.11) of kbuild seems to be incomplete /

Re: kbuild C++

2005-09-07 Thread Bodo Eggert
Budde, Marco [EMAIL PROTECTED] wrote: for one of our customers I have to port a Windows driver to Linux. Large parts of the driver's backend code consists of C++. How can I compile this code with kbuild? The C++ support (I have tested with 2.6.11) of kbuild seems to be incomplete / not

Re: Initramfs and TMPFS!

2005-08-26 Thread Bodo Eggert
Erik Mouw <[EMAIL PROTECTED]> wrote: > On Thu, Aug 25, 2005 at 02:15:13PM -0400, [EMAIL PROTECTED] wrote: >> For one, if you do "dd if=/dev/zero of=foo" on a ramfs the system >> will lock up. > > "Doctor, it hurts when I do this!" "Well, then don't do that." > You found a nice case of "Unix,

Re: Initramfs and TMPFS!

2005-08-26 Thread Bodo Eggert
Erik Mouw [EMAIL PROTECTED] wrote: On Thu, Aug 25, 2005 at 02:15:13PM -0400, [EMAIL PROTECTED] wrote: For one, if you do dd if=/dev/zero of=foo on a ramfs the system will lock up. Doctor, it hurts when I do this! Well, then don't do that. You found a nice case of Unix, rope, foot. It's a

Re: PATCH for changing of DVD speed via ioctl() call

2005-08-22 Thread Bodo Eggert
On Sun, 21 Aug 2005, Chris Wedgwood wrote: > On Sun, Aug 21, 2005 at 09:56:45PM +0200, Bodo Eggert wrote: > > The parameter value should IMHO be a pointer to a struct { > > unsigned long long maxspeed; // (with 0 being the magic max. value?) > > int facility; /* 0=general

Re: PATCH for changing of DVD speed via ioctl() call

2005-08-22 Thread Bodo Eggert
On Sun, 21 Aug 2005, Chris Wedgwood wrote: On Sun, Aug 21, 2005 at 09:56:45PM +0200, Bodo Eggert wrote: The parameter value should IMHO be a pointer to a struct { unsigned long long maxspeed; // (with 0 being the magic max. value?) int facility; /* 0=general speed, 2=general read, 4=read

Re: PATCH for changing of DVD speed via ioctl() call

2005-08-21 Thread Bodo Eggert
cHitman <[EMAIL PROTECTED]> wrote: > This patch implements changing of DVD speed via ioctl() call, like > CDROM_SELECT_SPEED do. In CDROM_SELECT_SPEED its implementation isn't > so good (diffirent values of 1x in KB/s, troubles with return value of > cdrom_select_speed() and other). I defined

Re: PATCH for changing of DVD speed via ioctl() call

2005-08-21 Thread Bodo Eggert
cHitman [EMAIL PROTECTED] wrote: This patch implements changing of DVD speed via ioctl() call, like CDROM_SELECT_SPEED do. In CDROM_SELECT_SPEED its implementation isn't so good (diffirent values of 1x in KB/s, troubles with return value of cdrom_select_speed() and other). I defined

Re: Problem with usb-storage and /dev/sd?

2005-08-13 Thread Bodo Eggert
On Fri, 12 Aug 2005, Pete Zaitcev wrote: > On Fri, 12 Aug 2005 12:49:28 +0200, Bodo Eggert <[EMAIL PROTECTED]> wrote: > > > Which label will a random USB stick have? > > GUID, I presume. A global unique ID won't work out to make all USB mass storage devices appear u

Re: Problem with usb-storage and /dev/sd?

2005-08-13 Thread Bodo Eggert
On Fri, 12 Aug 2005, Pete Zaitcev wrote: On Fri, 12 Aug 2005 12:49:28 +0200, Bodo Eggert [EMAIL PROTECTED] wrote: Which label will a random USB stick have? GUID, I presume. A global unique ID won't work out to make all USB mass storage devices appear under a common mountpoint, especially

Re: Need help in understanding x86 syscall

2005-08-12 Thread Bodo Eggert
On Thu, 11 Aug 2005, Zwane Mwaikambo wrote: > On Thu, 11 Aug 2005, Steven Rostedt wrote: > > On Thu, 2005-08-11 at 13:46 -0400, linux-os (Dick Johnson) wrote: > > int is a call to either an interrupt or exception procedure. 0x80 is > > setup in Linux to be a trap and not an interrupt vector. So

Re: Problem with usb-storage and /dev/sd?

2005-08-12 Thread Bodo Eggert
Horst von Brand <[EMAIL PROTECTED]> wrote: > DervishD <[EMAIL PROTECTED]> wrote: >> * Pete Zaitcev <[EMAIL PROTECTED]> dixit: >> > On Wed, 10 Aug 2005 21:22:43 +0200, DervishD <[EMAIL PROTECTED]> wrote: >> > > I'm not using hotplug currently so... how can I make the USB >> > > subsystem to

Re: Problem with usb-storage and /dev/sd?

2005-08-12 Thread Bodo Eggert
Horst von Brand [EMAIL PROTECTED] wrote: DervishD [EMAIL PROTECTED] wrote: * Pete Zaitcev [EMAIL PROTECTED] dixit: On Wed, 10 Aug 2005 21:22:43 +0200, DervishD [EMAIL PROTECTED] wrote: I'm not using hotplug currently so... how can I make the USB subsystem to assign always the same

Re: Need help in understanding x86 syscall

2005-08-12 Thread Bodo Eggert
On Thu, 11 Aug 2005, Zwane Mwaikambo wrote: On Thu, 11 Aug 2005, Steven Rostedt wrote: On Thu, 2005-08-11 at 13:46 -0400, linux-os (Dick Johnson) wrote: int is a call to either an interrupt or exception procedure. 0x80 is setup in Linux to be a trap and not an interrupt vector. So it does

Re: Need help in understanding x86 syscall

2005-08-11 Thread Bodo Eggert
On Thu, 11 Aug 2005, Steven Rostedt wrote: > On Thu, 2005-08-11 at 15:41 +0200, Bodo Eggert wrote: > > According to my documentation it isn't. A software interrupt is a far call > > with an extra pushf, and a hardware interrupt is protected against recursion > > by the PIC

Re: Need help in understanding x86 syscall

2005-08-11 Thread Bodo Eggert
Ukil a <[EMAIL PROTECTED]> wrote: > Now I had the doubt that if the the syscall > implementation is very large will the scheduling and > other interrupts be blocked for the whole time till > the process returns from the ISR (because in an ISR by > default the interrupts are disabled unless “sti”

Re: Need help in understanding x86 syscall

2005-08-11 Thread Bodo Eggert
Ukil a [EMAIL PROTECTED] wrote: Now I had the doubt that if the the syscall implementation is very large will the scheduling and other interrupts be blocked for the whole time till the process returns from the ISR (because in an ISR by default the interrupts are disabled unless “sti” is

Re: Need help in understanding x86 syscall

2005-08-11 Thread Bodo Eggert
On Thu, 11 Aug 2005, Steven Rostedt wrote: On Thu, 2005-08-11 at 15:41 +0200, Bodo Eggert wrote: According to my documentation it isn't. A software interrupt is a far call with an extra pushf, and a hardware interrupt is protected against recursion by the PIC, not by an interrupt flag

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Bodo Eggert wrote: > On Mon, 8 Aug 2005, Benjamin Herrenschmidt wrote: > > On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: > > > The wrong values are constant across reboots (see my first mail), and I > > > have a CRT. > > > &g

Re: capabilities patch (v 0.1)

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Chris Wright wrote: > * Bodo Eggert ([EMAIL PROTECTED]) wrote: > > 1) I wouldn't want an exploited service to gain any privileges, even by > >chaining userspace exploits (e.g. exec sendmail < exploitstring). For > >most services, I'd l

Re: capabilities patch (v 0.1)

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Chris Wright wrote: > * Bodo Eggert ([EMAIL PROTECTED]) wrote: > > Chris Wright <[EMAIL PROTECTED]> wrote: > > > * David Madore ([EMAIL PROTECTED]) wrote: > > >> * Second, a much more extensive change, the patch introduces a third > >

Re: capabilities patch (v 0.1)

2005-08-09 Thread Bodo Eggert
Chris Wright <[EMAIL PROTECTED]> wrote: > * David Madore ([EMAIL PROTECTED]) wrote: >> * Second, a much more extensive change, the patch introduces a third >> set of capabilities for every process, the "bounding" set. Normally > > this is not a good idea. don't add more sets. if you really

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-09 Thread Bodo Eggert
On Mon, 8 Aug 2005, Benjamin Herrenschmidt wrote: > On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: > > The wrong values are constant across reboots (see my first mail), and I > > have a CRT. > > > > Can you tell me where the timing values are read? >

Re: my kernel sometimes did a crash, but no panic

2005-08-09 Thread Bodo Eggert
Klasyk <[EMAIL PROTECTED]> wrote: > my kernel sometimes did a crash, but no panic > Keyboard hunged up :( > Network were working and I can log in. Without the keybord - it > generally worked. > > In logs: > for example: > > Aug 6 15:30:02 o kernel: Unable to handle kernel NULL pointer >

Re: [PATCH] Posix file attribute support on VFAT

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Machida, Hiroyuki wrote: > Bodo Eggert wrote: > Please confirm my understanding. > You sugessted that symlink should not have ATTR_SYS, to prevent > some over 4KB files created in DOS/WIN to be treated as symlinks? NACK, files longer than 4KB should not be symlink

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-09 Thread Bodo Eggert
On Mon, 8 Aug 2005, Benjamin Herrenschmidt wrote: On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: The wrong values are constant across reboots (see my first mail), and I have a CRT. Can you tell me where the timing values are read? radeon_write_mode() programs the mode

Re: capabilities patch (v 0.1)

2005-08-09 Thread Bodo Eggert
Chris Wright [EMAIL PROTECTED] wrote: * David Madore ([EMAIL PROTECTED]) wrote: * Second, a much more extensive change, the patch introduces a third set of capabilities for every process, the bounding set. Normally this is not a good idea. don't add more sets. if you really want to work

Re: capabilities patch (v 0.1)

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Chris Wright wrote: * Bodo Eggert ([EMAIL PROTECTED]) wrote: Chris Wright [EMAIL PROTECTED] wrote: * David Madore ([EMAIL PROTECTED]) wrote: * Second, a much more extensive change, the patch introduces a third set of capabilities for every process, the bounding set

Re: capabilities patch (v 0.1)

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Chris Wright wrote: * Bodo Eggert ([EMAIL PROTECTED]) wrote: 1) I wouldn't want an exploited service to gain any privileges, even by chaining userspace exploits (e.g. exec sendmail exploitstring). For most services, I'd like CAP_EXEC being unset (but it doesn't

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Bodo Eggert wrote: On Mon, 8 Aug 2005, Benjamin Herrenschmidt wrote: On Mon, 2005-08-08 at 02:06 +0200, Bodo Eggert wrote: The wrong values are constant across reboots (see my first mail), and I have a CRT. Can you tell me where the timing values are read

Re: [PATCH] Posix file attribute support on VFAT

2005-08-09 Thread Bodo Eggert
On Tue, 9 Aug 2005, Machida, Hiroyuki wrote: Bodo Eggert wrote: Please confirm my understanding. You sugessted that symlink should not have ATTR_SYS, to prevent some over 4KB files created in DOS/WIN to be treated as symlinks? NACK, files longer than 4KB should not be symlinks, and maybe

Re: my kernel sometimes did a crash, but no panic

2005-08-09 Thread Bodo Eggert
Klasyk [EMAIL PROTECTED] wrote: my kernel sometimes did a crash, but no panic Keyboard hunged up :( Network were working and I can log in. Without the keybord - it generally worked. In logs: for example: Aug 6 15:30:02 o kernel: Unable to handle kernel NULL pointer dereference at

Re: [PATCH] Posix file attribute support on VFAT

2005-08-08 Thread Bodo Eggert
Hiroyuki Machida <[EMAIL PROTECTED]> wrote: > For newly created and/or modified files/dirs, system can utilize > full posix attributes, because memory resident inode storage can > hold those. After umount-mount cycle, system may lose some > attributes to preserve VFAT format. Inodes may be

Re: [PATCH] Posix file attribute support on VFAT

2005-08-08 Thread Bodo Eggert
Hiroyuki Machida [EMAIL PROTECTED] wrote: For newly created and/or modified files/dirs, system can utilize full posix attributes, because memory resident inode storage can hold those. After umount-mount cycle, system may lose some attributes to preserve VFAT format. Inodes may be reclaimed,

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Bodo Eggert
On Sun, 7 Aug 2005, Benjamin Herrenschmidt wrote: > On Sun, 2005-08-07 at 19:25 +0200, Bodo Eggert wrote: > > On Sun, 7 Aug 2005, Kyle Moffett wrote: > > > On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: > > > > Ah ! Interesting... I don't see why

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Bodo Eggert
On Sun, 7 Aug 2005, Kyle Moffett wrote: > On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: > > Ah ! Interesting... I don't see why PREEMPT would affect radeonfb > > though ... Can you try something like wrapper radeon_write_mode() with > > preempt_disable()/preempt_enable() and tell me

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Bodo Eggert
On Sun, 7 Aug 2005, Kyle Moffett wrote: On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: Ah ! Interesting... I don't see why PREEMPT would affect radeonfb though ... Can you try something like wrapper radeon_write_mode() with preempt_disable()/preempt_enable() and tell me if it

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-07 Thread Bodo Eggert
On Sun, 7 Aug 2005, Benjamin Herrenschmidt wrote: On Sun, 2005-08-07 at 19:25 +0200, Bodo Eggert wrote: On Sun, 7 Aug 2005, Kyle Moffett wrote: On Aug 7, 2005, at 03:51:07, Benjamin Herrenschmidt wrote: Ah ! Interesting... I don't see why PREEMPT would affect radeonfb though ... Can

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-05 Thread Bodo Eggert
On Fri, 5 Aug 2005, Benjamin Herrenschmidt wrote: > On Fri, 2005-08-05 at 00:03 +0200, Bodo Eggert wrote: > > My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. > > 2.6.12 does not show this behaviour. > > I'm out of town at the moment, could you maybe

Re: Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-05 Thread Bodo Eggert
On Fri, 5 Aug 2005, Benjamin Herrenschmidt wrote: On Fri, 2005-08-05 at 00:03 +0200, Bodo Eggert wrote: My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. 2.6.12 does not show this behaviour. I'm out of town at the moment, could you maybe diff radeonfb between working

Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-04 Thread Bodo Eggert
My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. 2.6.12 does not show this behaviour. dmesg from both systems, trimmed down: 2.6.13-rc5: PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) Boot video device is :01:00.0 PCI: Using IRQ router VIA [1106/0686] at

Regression: radeonfb: No synchronisation on CRT with linux-2.6.13-rc5

2005-08-04 Thread Bodo Eggert
My CRT is out of sync after radeonfb from 2.6.13-rc5 is initialized. 2.6.12 does not show this behaviour. dmesg from both systems, trimmed down: 2.6.13-rc5: PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) Boot video device is :01:00.0 PCI: Using IRQ router VIA [1106/0686] at

Re: BTTV - experimental no_overlay patch

2005-08-03 Thread Bodo Eggert
Mauro Carvalho Chehab <[EMAIL PROTECTED]> wrote: > This small patch will allow no_overlay flag to disable BTTV driver to > report OVERLAY capabilities. It should fix your troubles by enabling > no_overlay=1 when inserting bttv module. > > This patch is against our CVS tree, but should apply with

Re: Documentation - how to apply patches for various trees

2005-08-03 Thread Bodo Eggert
On Wed, 3 Aug 2005, Jesper Juhl wrote: > +What is a patch? > +To correctly apply a patch you need to know what base it was generated from > +and what new version the patch will change the source tree into. These > +should both be present in the patch file metadata. This is usurally not true for

Re: Testing RC kernels [KORG]

2005-08-03 Thread Bodo Eggert
On Tue, 2 Aug 2005, H. Peter Anvin wrote: > Michael Krufky wrote: > > Why not just have the scripts plug values into a database, and have the > > html/php be formatted like Bodo suggests, and reads content from database? > > Very simple, less maintenance... Only requires 1 initial redesign, and

Re: Testing RC kernels [KORG]

2005-08-03 Thread Bodo Eggert
On Tue, 2 Aug 2005, H. Peter Anvin wrote: Michael Krufky wrote: Why not just have the scripts plug values into a database, and have the html/php be formatted like Bodo suggests, and reads content from database? Very simple, less maintenance... Only requires 1 initial redesign, and

Re: Documentation - how to apply patches for various trees

2005-08-03 Thread Bodo Eggert
On Wed, 3 Aug 2005, Jesper Juhl wrote: +What is a patch? +To correctly apply a patch you need to know what base it was generated from +and what new version the patch will change the source tree into. These +should both be present in the patch file metadata. This is usurally not true for

Re: BTTV - experimental no_overlay patch

2005-08-03 Thread Bodo Eggert
Mauro Carvalho Chehab [EMAIL PROTECTED] wrote: This small patch will allow no_overlay flag to disable BTTV driver to report OVERLAY capabilities. It should fix your troubles by enabling no_overlay=1 when inserting bttv module. This patch is against our CVS tree, but should apply with some

Re: Testing RC kernels [KORG]

2005-08-02 Thread Bodo Eggert
ll download links to a seperate table, where they can be found. - Add headings above the patches and above the tarballs - Add some hints - Create a dead link to a patching-HOWTO - Add a 'applies to:' column - fix legend to match changes Signed-off-by: Bodo Eggert <[EMAIL PROTECTED]> --- index

Re: Testing RC kernels [KORG]

2005-08-02 Thread Bodo Eggert
the patches and above the tarballs - Add some hints - Create a dead link to a patching-HOWTO - Add a 'applies to:' column - fix legend to match changes Signed-off-by: Bodo Eggert [EMAIL PROTECTED] --- index.ori 2005-08-03 02:26:03.618204515 +0200 +++ index.html 2005-08-03 02:35:57.326133017 +0200

Re: 2.6.12.3 Oops

2005-08-01 Thread Bodo Eggert
Andrew Burgess <[EMAIL PROTECTED]> wrote: > This is a busy machine. There is continuous usb soundcard (3 soundcards) and > usb ethernet activity (news server and alot of downloading) and video is being > read continuously from the bt878 card.  ^ Let me guess: A VIA

Re: 2.6.12.3 Oops

2005-08-01 Thread Bodo Eggert
Andrew Burgess [EMAIL PROTECTED] wrote: This is a busy machine. There is continuous usb soundcard (3 soundcards) and usb ethernet activity (news server and alot of downloading) and video is being read continuously from the bt878 card.  ^ Let me guess: A VIA

Re: [PATCH] [1/5+1] menu -> menuconfig part 1

2005-07-24 Thread Bodo Eggert
On Thu, 21 Jul 2005, randy_dunlap wrote: > On Sun, 17 Jul 2005 13:29:03 +0200 (CEST) Bodo Eggert wrote: > > > These patches change some menus into menuconfig options. > When using xconfig (not menuconfig), the drivers/MTD menu > needs some help IMO, but it's not clear wher

Re: [2.6 patch] sound drivers select'ing ISAPNP must depend on PNP && ISA

2005-07-24 Thread Bodo Eggert
On Sat, 23 Jul 2005, Adrian Bunk wrote: > On Tue, Jul 19, 2005 at 10:50:53PM +0200, Bodo Eggert wrote: > > OTOH, the build system > > should automatically propagate the dependencies. I asume that should be > > easy, except for having the time to implement that. > >..

Re: [2.6 patch] sound drivers select'ing ISAPNP must depend on PNP ISA

2005-07-24 Thread Bodo Eggert
On Sat, 23 Jul 2005, Adrian Bunk wrote: On Tue, Jul 19, 2005 at 10:50:53PM +0200, Bodo Eggert wrote: OTOH, the build system should automatically propagate the dependencies. I asume that should be easy, except for having the time to implement that. ... There are nontrivial problems

Re: [PATCH] [1/5+1] menu - menuconfig part 1

2005-07-24 Thread Bodo Eggert
On Thu, 21 Jul 2005, randy_dunlap wrote: On Sun, 17 Jul 2005 13:29:03 +0200 (CEST) Bodo Eggert wrote: These patches change some menus into menuconfig options. When using xconfig (not menuconfig), the drivers/MTD menu needs some help IMO, but it's not clear where/why. Before the patch

Re: [PATCH][RESEND] [1b/5+1] menu -> menuconfig part 1

2005-07-22 Thread Bodo Eggert
On Thu, 21 Jul 2005, randy_dunlap wrote: > On Sun, 17 Jul 2005 19:03:09 +0200 (CEST) Bodo Eggert wrote: > > On Sun, 17 Jul 2005, Bodo Eggert wrote: > > > On Sun, 17 Jul 2005, Bodo Eggert wrote: > > > > > > These patches change some menus into menuconfig options

Re: [PATCH][RESEND] [1b/5+1] menu - menuconfig part 1

2005-07-22 Thread Bodo Eggert
On Thu, 21 Jul 2005, randy_dunlap wrote: On Sun, 17 Jul 2005 19:03:09 +0200 (CEST) Bodo Eggert wrote: On Sun, 17 Jul 2005, Bodo Eggert wrote: On Sun, 17 Jul 2005, Bodo Eggert wrote: These patches change some menus into menuconfig options. Reworked to apply to linux-2.6.13-rc3

Re: kernel guide to space

2005-07-20 Thread Bodo Eggert
Jan Engelhardt <[EMAIL PROTECTED]> wrote: >> 3) If a normal line of code is more than 80 characters, one of the >> following is probably true: you need to break the line up and use temps >> for clarity, or your function is so big that you're tabbing over too >> far. > > (Find source files,

Re: kernel guide to space

2005-07-20 Thread Bodo Eggert
Jan Engelhardt [EMAIL PROTECTED] wrote: 3) If a normal line of code is more than 80 characters, one of the following is probably true: you need to break the line up and use temps for clarity, or your function is so big that you're tabbing over too far. (Find source files, expand tab chars

Re: [2.6 patch] sound drivers select'ing ISAPNP must depend on PNP && ISA

2005-07-19 Thread Bodo Eggert
On Tue, 19 Jul 2005, Adrian Bunk wrote: > On Sun, Jul 17, 2005 at 05:07:48PM +0200, Bodo Eggert wrote: > > In sound/isa/Kconfig, select ISAPNP and depend on ISAPNP are intermixed, > > resulting in funny behaviour. (Soundcarts get selectable if other > > so

Re: Noob question. Why is the for-pentium4 kernel built with -march=i686 ?

2005-07-19 Thread Bodo Eggert
Ivan Yosifov <[EMAIL PROTECTED]> wrote: > -march implies -mtune and also implies thing like -msse2 for the > instruction set where applicable. > I think -march=pentium4 is equivalent to -mmmx -msse -msse2 > -mtune=pentium4 ( if I have not fogotten anything ). > Pentium4 supports things like sse2

Re: Noob question. Why is the for-pentium4 kernel built with -march=i686 ?

2005-07-19 Thread Bodo Eggert
Ivan Yosifov [EMAIL PROTECTED] wrote: -march implies -mtune and also implies thing like -msse2 for the instruction set where applicable. I think -march=pentium4 is equivalent to -mmmx -msse -msse2 -mtune=pentium4 ( if I have not fogotten anything ). Pentium4 supports things like sse2 and mmx

Re: [2.6 patch] sound drivers select'ing ISAPNP must depend on PNP ISA

2005-07-19 Thread Bodo Eggert
On Tue, 19 Jul 2005, Adrian Bunk wrote: On Sun, Jul 17, 2005 at 05:07:48PM +0200, Bodo Eggert wrote: In sound/isa/Kconfig, select ISAPNP and depend on ISAPNP are intermixed, resulting in funny behaviour. (Soundcarts get selectable if other soundcards are selected). This patch

[PATCH] [1b/5+1] menu -> menuconfig part 1

2005-07-17 Thread Bodo Eggert
On Sun, 17 Jul 2005, Bodo Eggert wrote: > On Sun, 17 Jul 2005, Bodo Eggert wrote: > > These patches change some menus into menuconfig options. > > > > Reworked to apply to linux-2.6.13-rc3-git3 > > Mostly robotic works. Fixup: unbreak i2c menu -- Fun things to

Re: [PATCH] [0/5+1] menu -> menuconfig part 1

2005-07-17 Thread Bodo Eggert
On Sun, 17 Jul 2005, Roman Zippel wrote: > On Sun, 17 Jul 2005, Bodo Eggert wrote: > > > These patches change some menus into menuconfig options. > I like it, but I would prefer to give it first a bit more exposure in -mm, > as it does change the menu structure and the b

<    1   2   3   4   5   6   7   8   >