[RFC][Patch 4/6] integrity: IMA integrity_measure() support

2007-03-08 Thread Mimi Zohar
This is a re-release of Integrity Measurement Architecture(IMA) as a method of providing support for the integrity service framework API integrity_measure() call. When integrity_measure() is called, IMA submits the measurement (hash) of the file to the TPM chip, for inclusion in one of the chip's P

[RFC][Patch 6/6] integrity: TPM internal kernel interface

2007-03-08 Thread Mimi Zohar
Index: linux-2.6.21-rc3-mm2/drivers/char/tpm/tpm.c === --- linux-2.6.21-rc3-mm2.orig/drivers/char/tpm/tpm.c +++ linux-2.6.21-rc3-mm2/drivers/char/tpm/tpm.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004 IBM Corporation + * Copyright (C) 20

[RFC][Patch 5/6] integrity: mtime patch for mmap files

2007-03-08 Thread Mimi Zohar
This is a minimal subset of Peter Staubach's July patch, updated to apply to the latest kernel. The subset was chosen to demonstrate that mmaped files are hashed and hmac properly by EVM after being modified when a file's mtime is updated correctly. Index: linux-2.6.21-rc3-mm2/fs/inode.c =

Re: [patch] epoll use a single inode ...

2007-03-08 Thread Linus Torvalds
On Thu, 8 Mar 2007, Eric Dumazet wrote: > > Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]> > CC: Christoph Hellwig <[EMAIL PROTECTED]> > CC: Linus Torvalds <[EMAIL PROTECTED]> Acked-by: Linus Torvalds <[EMAIL PROTECTED]> Except you should fix the subject line when you send it out to Andrew ;)

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Arjan van de Ven
On Thu, 2007-03-08 at 09:00 +, Christoph Hellwig wrote: > On Thu, Mar 08, 2007 at 03:18:04AM +0100, Roman Zippel wrote: > > Hi, > > > > On Tuesday 06 March 2007 10:29, Christoph Hellwig wrote: > > > > > PAGE_SIZE should not be available at all. Please use getpagesize() > > > instead. > > >

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: > > Takashi Iwai napisał(a): > > At Wed, 07 Mar 2007 23:22:36 +0100, > > Michal Piotrowski wrote: > >> Hi Takashi, > >> > >> Takashi Iwai napisał(a): > >>> At Wed, 7 Mar 2007 11:50:24 -0800, > >>> Andrew Morton wrote: > On Wed, 7 Ma

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: > > > Also, it'd be helpful if you compare > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the > > patch. This reveals which register bits differ actually. > > a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23df

Re: Radeon xpress 200m and radeonfb kinda work

2007-03-08 Thread Chuck Ebbert
johan henriksson wrote: > As you can see in the patch I have disabled "Dynamic Clock PM" > since it makes my card freak out (Don't know why :( ). > Is there a reason why the "default_dynclk" parameter only is available > when radeonfb is built as a module or should it be added to radeonfb_setup?

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-08 Thread Alan Stern
On Thu, 8 Mar 2007, Oliver Neukum wrote: > Hi, > > after a lightning bolt from high above I've been looking into refcounting > the data structures drivers use to provide the data used to refill sysfs > buffers. I've come to the following conclusion. > > 1. struct sysfs_buffer must have a struct

Re: Problem with libata-pata, ATAPI DVD reader and a "copy-protected" audio cd

2007-03-08 Thread Alan Cox
> Well, it happened again, with a different cd, and this time I never > started the player: hal/g-v-m tried to access the CD and now my driver > is in PIO2 mode and pretty much unusable. Is there a way to fix this > without rebooting? Hard to tell. If it happens again then a "dmesg" after it misbe

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Christoph Hellwig
On Thu, Mar 08, 2007 at 07:53:49AM -0800, Arjan van de Ven wrote: > > > > PAGE_SIZE should not be available at all. Please use getpagesize() > > > > instead. > > > > > > While I agree, NBPG is a bit of a problem, although it's only needed for > > > aout > > > coredumps AFAICT, but still needed

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: > > > Also, it'd be helpful if you compare > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the > > patch. This reveals which register bits differ actually. > > a2.txt is form 2.6.21-rc3 witchout 831466f4ad2b5fe23df

[PATCH] PPC: Correct apparently misspelled "XMON" preprocessor directive.

2007-03-08 Thread Robert P. J. Day
Correct the apparent misspelling of "XMON" to "CONFIG_XMON". Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- i'm only *guessing* that this is a typo, given that the file "arch/powerpc/Kconfig.debug" defines the XMON config variable. diff --git a/arch/powerpc/platforms/chrp/setup.c

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Linus Torvalds
On Thu, 8 Mar 2007, Davide Libenzi wrote: > > This patch, if you get a POLLIN, you have a signal to read for sure (well, > unless you another thread/task reads it before you - but that's just > somthing you have to take care). There is not explicit check for > O_NONBLOCK now, but a zero timeo

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
On 08/03/07, Takashi Iwai <[EMAIL PROTECTED]> wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: > > > Also, it'd be helpful if you compare > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the > > patch. This reveals which register bits differ actually. > > a

Re: Problem with libata-pata, ATAPI DVD reader and a "copy-protected" audio cd

2007-03-08 Thread GhePeU
Il giorno gio, 08/03/2007 alle 17.07 +, Alan Cox ha scritto: > > Well, it happened again, with a different cd, and this time I never > > started the player: hal/g-v-m tried to access the CD and now my driver > > is in PIO2 mode and pretty much unusable. Is there a way to fix this > > without re

Re: Request change in behaviour of capability inheritance.

2007-03-08 Thread Casey Schaufler
--- [EMAIL PROTECTED] wrote: > I think that the current behaviour of capability > inheritance across exec() > is not optimal. > > The current behaviour consists in all effective and > permitted capabilities > are cleared across a exec(). This is because it > seems to be intended that > in the fu

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 8 Mar 2007 17:26:48 +0100, Michal Piotrowski wrote: > > On 08/03/07, Takashi Iwai <[EMAIL PROTECTED]> wrote: > > At Thu, 08 Mar 2007 16:42:26 +0100, > > Michal Piotrowski wrote: > > > > > > Takashi Iwai napisał(a): > > > > Or, does it happen if you play a real 5.1 channel file? > > > > (fo

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Davide Libenzi
On Thu, 8 Mar 2007, Linus Torvalds wrote: > You missed David's worry, I think. > > Not only is POLLIN potentially an edge event (depending on the interface > you use to fetch it), but even as a level-triggered one you generally want > to read as much as possible per POLLIN event, and go back to

Networking Question [ot]

2007-03-08 Thread Marc Perkel
This may be a little off topic but I know there's people here that can give me a quick answer. I'm running Fedora Core 6 and I have two blocks of IP addresses on eth0. 69.50.231.0/28 69.50.231.128/26 Do I need to set some kind of static route so that IPs in one set can talk to the other? If so -

Re: 2.6.21-rc3-mm1

2007-03-08 Thread Dave Jones
On Thu, Mar 08, 2007 at 09:50:43AM -0500, John W. Linville wrote: > On Wed, Mar 07, 2007 at 08:18:39PM -0800, Andrew Morton wrote: > By removing NET_RADIO, these changes pave the way to making wireless > extensions optional when cfg80211 can fully take over for some > drivers

Re: Kernel threads

2007-03-08 Thread Oleg Nesterov
Andrew Morton wrote: > > > On Tue, 6 Mar 2007 11:03:48 -0500 "linux-os \(Dick Johnson\)" <[EMAIL > > PROTECTED]> wrote: > > > > In linux-2.6.16.24, there is a problem with kernel threads > > and the aic79xx.c driver. > > > > When nash is executing /initrd/linuxrc in the initial RAM disk > > during

[QUESTION] outl and writel endianity

2007-03-08 Thread Jiri Slaby
Hi. If I use outl everything seems to be OK. Is there any difference in endianity between outl and writel (or iowrite32, which calls writel, I guess). When I do outl(val, p->ibase + 4*off); everyhting is OK, but when I do writel(val, p->iaddr + off); bad value is written unless I use cpu_to_be

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Chris Wright
* Mimi Zohar ([EMAIL PROTECTED]) wrote: > +static int dummy_inode_setxattr(struct dentry *dentry, char *name, void > *value, > + size_t size, int flags) > +{ > + if (!strncmp(name, XATTR_SECURITY_PREFIX, > + sizeof(XATTR_SECURITY_PREFIX) - 1) && > +

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Michael K. Edwards
On 3/8/07, Davide Libenzi wrote: The reason for the special function, was not to provide a non-blocking behaviour with zero timeout (that just a side effect), but to read the siginfo. I was all about using read(2) (and v1 used it), but when you have to transfer complex structures over it, it bec

Re: [PATCH] chaostables

2007-03-08 Thread Jan Engelhardt
(I suspect a mailserver issue on my side, since I did not receive the replies from Alan or Patrick. But lkml.org has them, so I will be replying to both them there.) On Mar 8 2007 09:55, James Morris wrote: >On Thu, 8 Mar 2007, Alan Cox wrote: > >> Any chance of tweaking the name - it's just t

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Chris Wright
* Mimi Zohar ([EMAIL PROTECTED]) wrote: > + integrity_d_instantiate(entry, inode); > security_d_instantiate(entry, inode); > + integrity_d_instantiate(entry, inode); > security_d_instantiate(entry, inode); > spin_unlock(&dcache_lock); > +

swsusp: platform notifications not properly undone in case of error

2007-03-08 Thread Pavel Machek
Hi! Using IPI No-Shortcut mode swsusp: Resume From Partition /dev/sda1 PM: Checking swsusp image. swsusp: Signature found, resuming PM: Preparing processes for restore. Stopping tasks ... done. PM: Reading swsusp image. Loading image data pages (125285 pages) ... <3>swsusp: Resume mismatch: v

Re: [Patch 1/2] add for_each_substring() and match_substring()

2007-03-08 Thread Bastian Blank
On Tue, Mar 06, 2007 at 08:19:23PM +0100, Martin Peschke wrote: > +char *match_to(const char *cs, const char *ct) > +{ > + char *delim = strpbrk(cs, ct); > + if (delim) > + return delim; > + else if (*cs != '\0') > + return (char *)(cs + strlen(cs)); This disall

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Daniel Jacobowitz
On Thu, Mar 08, 2007 at 04:08:52PM +, Christoph Hellwig wrote: > No, no no. We should never export PAGE_SIZE. We might export NBPG > as deprecated symbol for gdb if it really needs it, but that should > happen only on a.out systems, and it it should be a true constant, > not depending on PAGE

[PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Alan Cox
Adds the needed TCGETS2/TCSETS2 ioctl calls, structures, defines and the like. Tested against the test suite and passes. Other platforms should need roughly the same change. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Robin Getz
On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: > 2007/3/7, Robin Getz <[EMAIL PROTECTED]>: > > Right - so the question is where to manage the default state? I was > > thinking in the resource might be a good idea, but there isn't really a > > good place for it. (You could re-use some bits if fla

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Russell King
On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: > On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: > > 2007/3/7, Robin Getz <[EMAIL PROTECTED]>: > > > Right - so the question is where to manage the default state? I was > > > thinking in the resource might be a good idea, but there isn'

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Carl-Daniel Hailfinger
Hi, On 08.03.2007 14:48, Russell King wrote: > As I've said already, having a console on the same port as your application > program is just asking for trouble. All bets are off - the kernel _will_ > corrupt your data stream in random places. > > Don't do it - it will _NEVER_ be reliable. > > N

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Russell King
On Thu, Mar 08, 2007 at 03:16:08PM +0100, Carl-Daniel Hailfinger wrote: > Hi, > > On 08.03.2007 14:48, Russell King wrote: > > As I've said already, having a console on the same port as your application > > program is just asking for trouble. All bets are off - the kernel _will_ > > corrupt your

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Oleksiy Kebkal
2007/3/8, Russell King <[EMAIL PROTECTED]>: On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: > On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: > > 2007/3/7, Robin Getz <[EMAIL PROTECTED]>: > > > Right - so the question is where to manage the default state? I was > > > thinking in the

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Oleksiy Kebkal
2007/3/8, Russell King <[EMAIL PROTECTED]>: On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: > On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: > > 2007/3/7, Robin Getz <[EMAIL PROTECTED]>: > > > Right - so the question is where to manage the default state? I was > > > thinking in the

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Russell King
On Thu, Mar 08, 2007 at 03:23:49PM +0100, Oleksiy Kebkal wrote: > 2007/3/8, Russell King <[EMAIL PROTECTED]>: > >On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: > >> On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: > >> > 2007/3/7, Robin Getz <[EMAIL PROTECTED]>: > >> > > Right - so th

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Oleksiy Kebkal
2007/3/8, Russell King <[EMAIL PROTECTED]>: On Thu, Mar 08, 2007 at 03:23:49PM +0100, Oleksiy Kebkal wrote: > Ok. I understand now one of the sources of misunderstanding. I don't > want to mix console and application serial port. It's not a misunderstanding if you realise that email is threaded

Re: [PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Arjan van de Ven
On Thu, 2007-03-08 at 14:44 +, Alan Cox wrote: > Adds the needed TCGETS2/TCSETS2 ioctl calls, structures, defines and the > like. Tested against the test suite and passes. Other platforms should need > roughly the same change. should this then really be in include/asm/* ? If everyone needs th

Re: [PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Andreas Schwab
Arjan van de Ven <[EMAIL PROTECTED]> writes: > should this then really be in include/asm/* ? If everyone needs the same > change I'd think it should go into include/linux/* somewhere. How about asm-generic/ioctls.h? is one of the few ABI headers for glibc. Andreas. -- Andreas Schwab, SuSE La

Re: [PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Alan Cox
On Thu, 08 Mar 2007 06:39:47 -0800 Arjan van de Ven <[EMAIL PROTECTED]> wrote: > On Thu, 2007-03-08 at 14:44 +, Alan Cox wrote: > > Adds the needed TCGETS2/TCSETS2 ioctl calls, structures, defines and the > > like. Tested against the test suite and passes. Other platforms should need > > rough

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-08 Thread Srivatsa Vaddagiri
On Thu, Mar 08, 2007 at 01:50:01PM +1300, Sam Vilain wrote: > 7. resource namespaces It should be. Imagine giving 20% bandwidth to a user X. X wants to divide this bandwidth further between multi-media (10%), kernel compilation (5%) and rest (5%). So, > Is the subservient namespace's resource usa

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-08 Thread Srivatsa Vaddagiri
On Wed, Mar 07, 2007 at 04:16:00PM -0700, Eric W. Biederman wrote: > I think implementation wise this tends to make sense. > However it should have nothing to do with semantics. > > If we have a lot of independent resource controllers. Placing the > pointer to their data structures directly in ns

Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-08 Thread Christoph Lameter
On Thu, 8 Mar 2007, Mel Gorman wrote: > On x86_64, it completed successfully and looked reliable. There was a 5% > performance loss on kernbench and aim9 figures were way down. However, with > slub_debug enabled, I would expect that so it's not a fair comparison > performance wise. I'll rerun the

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
On 08/03/07, Takashi Iwai <[EMAIL PROTECTED]> wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: > > > Also, it'd be helpful if you compare > > /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the > > patch. This reveals which register bits differ actually. > > a

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 8 Mar 2007 17:52:43 +0100, Michal Piotrowski wrote: > > On 08/03/07, Takashi Iwai <[EMAIL PROTECTED]> wrote: > > At Thu, 08 Mar 2007 16:42:26 +0100, > > Michal Piotrowski wrote: > > > > > > > Also, it'd be helpful if you compare > > > > /proc/asound/card0/codec97#0/ac97#0-0+regs file befor

[PATCH] VFS : Delay the dentry name generation on sockets and pipes.

2007-03-08 Thread Eric Dumazet
Hi Andrew Could you please put this final version in mm for testing ? Thank's to all contributors. [PATCH] VFS : Delay the dentry name generation on sockets and pipes. 1) Introduces a new method in 'struct dentry_operations'. This method called d_dname() might be called from d_path() to build

Re: [patch] epoll use a single inode ...

2007-03-08 Thread Valdis . Kletnieks
On Thu, 08 Mar 2007 08:24:04 +0100, Eric Dumazet said: > > But what is the cost of the conditional branch you added in prefetch(x) ? > > if (!x) return; > > (correctly predicted or not, but do powerPC have a BTB ?) > > About the NULL 'potential problem', maybe we could use a dummy nil (but > ma

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Serge E. Hallyn
Quoting Chris Wright ([EMAIL PROTECTED]): > * Mimi Zohar ([EMAIL PROTECTED]) wrote: > > +static int dummy_inode_setxattr(struct dentry *dentry, char *name, void > > *value, > > + size_t size, int flags) > > +{ > > + if (!strncmp(name, XATTR_SECURITY_PREFIX, > > +

Re: Request change in behaviour of capability inheritance.

2007-03-08 Thread rgarcia
I was reading the capabilities(7) man page. I agree with you about the language. What I am requesting is that for any file without extra attributes, the inheritable and effective set should be full. Ramon - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
On 08/03/07, Takashi Iwai <[EMAIL PROTECTED]> wrote: At Thu, 8 Mar 2007 17:52:43 +0100, Michal Piotrowski wrote: > > On 08/03/07, Takashi Iwai <[EMAIL PROTECTED]> wrote: > > At Thu, 08 Mar 2007 16:42:26 +0100, > > Michal Piotrowski wrote: > > > > > > > Also, it'd be helpful if you compare > > > >

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Randy Cushman
Takashi Iwai wrote: At Thu, 8 Mar 2007 17:52:43 +0100, Michal Piotrowski wrote: On 08/03/07, Takashi Iwai <[EMAIL PROTECTED]> wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread H. Peter Anvin
Christoph Hellwig wrote: No, no no. We should never export PAGE_SIZE. We might export NBPG as deprecated symbol for gdb if it really needs it, but that should happen only on a.out systems, and it it should be a true constant, not depending on PAGE_SIZE. I've Cc'ed the gdb list on whether they

Re: [PATCH] chaostables

2007-03-08 Thread Alan Cox
> Also note that the word 'chaostables' does not even appear in the patch, > though xt_CHAOS does. Since we know that {xt,ipt}_[A-Z]+ are targets, we > can safely assume that CHAOS does what it says - make fun of nmap. "entropy" ? "randomness" - To unsubscribe from this list: send the line "uns

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Serge E. Hallyn
Quoting Chris Wright ([EMAIL PROTECTED]): > * Mimi Zohar ([EMAIL PROTECTED]) wrote: > > + integrity_d_instantiate(entry, inode); > > security_d_instantiate(entry, inode); > > > + integrity_d_instantiate(entry, inode); > > security_d_instantiate(entry, inode); > > >

Re: irq nobody cared issue on 2.6.2x

2007-03-08 Thread Mws
On Wednesday 07 March 2007, Linus Torvalds wrote: > > On Wed, 7 Mar 2007, Mws wrote: > > > > if you would be so kind to provide me some infos, > > > > how i would be able to track the problem down _and_ maybe how to fix it. > > The first step is to figure out as exactly as possible _when_ it sta

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Christoph Hellwig
On Thu, Mar 08, 2007 at 09:05:48AM -0800, H. Peter Anvin wrote: > Christoph Hellwig wrote: > >No, no no. We should never export PAGE_SIZE. We might export NBPG > >as deprecated symbol for gdb if it really needs it, but that should > >happen only on a.out systems, and it it should be a true consta

Re: [RFC][Patch 6/6] integrity: TPM internal kernel interface

2007-03-08 Thread Chris Wright
Other than the nits below, this looks like the right idea. * Mimi Zohar ([EMAIL PROTECTED]) wrote: > Index: linux-2.6.21-rc3-mm2/drivers/char/tpm/tpm.c > === > --- linux-2.6.21-rc3-mm2.orig/drivers/char/tpm/tpm.c > +++ linux-2.6.21-rc

Re: [PATCH] chaostables

2007-03-08 Thread Patrick McHardy
Jan Engelhardt wrote: >>>Index: linux-2.6.21-rc3/net/netfilter/xt_CHAOS.c >>>+/* Equivalent to: >>>+ * -A chaos -m statistic --mode random --probability \ >>>+ * $reject_percentage -j REJECT --reject-with host-unreach; >>>+ * -A chaos -m statistic --mode random --probability

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Linus Torvalds
On Thu, 8 Mar 2007, Davide Libenzi wrote: > > The reason for the special function, was not to provide a non-blocking > behaviour with zero timeout (that just a side effect), but to read the > siginfo. I was all about using read(2) (and v1 used it), but when you have > to transfer complex stru

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Chris Wright
* Serge E. Hallyn ([EMAIL PROTECTED]) wrote: > It's unfortunate, agreed, but > use of LSM as an integrity framework was also a no-go. > > Options? There's too much dup because stuff like above is just access control not integrity measurement. Need to break off the parts that really are different

Re: [PATCH] x86_64 RESTORE_CONTEXT missing '\n'

2007-03-08 Thread Andi Kleen
On Wednesday 07 March 2007 21:45, Dave Jiang wrote: > > The RESTORE_CONTEXT macro is missing the '\n' at the end. It was removed in > the > previous patch that touched system.h. It causes compile failure if any > inline asm is added after the macro. Discovered this when playing with > kgdb. We w

Possible "struct pid" leak from tty_io.c

2007-03-08 Thread Catalin Marinas
Hi Eric, I'm trying to track down a kmemleak report (on an ARM platform) which seems to have appeared with commit ab521dc0f8e117fd808d3e425216864d60390500. As I'm not familiar with the TTY layer at all, is it possible that the above commit missed a put_pid() call on some path? The /sbin/init app

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Linus Torvalds
On Thu, 8 Mar 2007, Michael K. Edwards wrote: > > Make it a netlink socket and fetch your structures using recvmsg(). > siginfo_t belongs in ancillary data. Gaah. That interface is horrible. > The UNIX philosophy is "everything's a file". The Berkeley philosophy > is "everything's a socket, e

Re: Linux v2.6.21-rc3

2007-03-08 Thread Alistair John Strachan
(Dropped LKML, whoops.) On Wednesday 07 March 2007 04:59, you wrote: > We've finally hopefully started to put a dent in the regressions, > especially the suspend/resume problems introduced since 2.6.20. > > So 2.6.21-rc3 is out there now, and there's some hope that it will work > more widely than

Re: [rfc][patch] futex: restartable futex_wait?

2007-03-08 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > Hi Ingo, > > I'm seeing an LTP test fail for ltp test sigaction_16_24. Basically, > it tests whether the SA_RESTART flag works for the sem_wait operation. > > I see sem_wait is implemented with futex_wait, so I wonder whether we > can make it restart

Re: SATA resume slowness, e1000 MSI warning

2007-03-08 Thread Eric W. Biederman
Jeff Garzik <[EMAIL PROTECTED]> writes: > Eric W. Biederman wrote: >> Until I get the best scenario I can come up with is a tg3 hardware bug >> that doesn't renable the pci-X capability after a restore of power state. > > > Speaking of tg3, make sure you are aware that the number of calls to > sa

Re: [RFC][Patch 5/6] integrity: mtime patch for mmap files

2007-03-08 Thread Chris Wright
* Mimi Zohar ([EMAIL PROTECTED]) wrote: > This is a minimal subset of Peter Staubach's July patch, updated to > apply to the latest kernel. The subset was chosen to demonstrate that > mmaped files are hashed and hmac properly by EVM after being modified > when a file's mtime is updated correctly.

brand new lists in: radiology, surgery, orthapedics, cardiology, anesthesiology, pediatrics

2007-03-08 Thread Audra A Carlson
7 new databases for the medical profession just released! --> All New American Nurses Database: Over 59,000 nurses complete with addresses, phone and fax numbers All data is in Excel format and sortable by 30 specialties. MSA and CMSA fields also included. **Special Price Until March 15 $299**

EXT3-fs warning (device sdd2): dx_probe: Unrecognised inode hash code 232

2007-03-08 Thread Jan De Luyck
Hello, Running 2.6.19.1 on AMD64. While copying some files on an ext3 partition, I got this in the logs: EXT3-fs warning (device sdd2): dx_probe: Unrecognised inode hash code 232 Assertion failure in dx_probe() at fs/ext3/namei.c:384: "dx_get_limit(entries) == dx_root_limit(dir, root->info.info

Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-08 Thread Mel Gorman
On (08/03/07 08:48), Christoph Lameter didst pronounce: > On Thu, 8 Mar 2007, Mel Gorman wrote: > > > On x86_64, it completed successfully and looked reliable. There was a 5% > > performance loss on kernbench and aim9 figures were way down. However, with > > slub_debug enabled, I would expect that

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Chris Wright
* Serge E. Hallyn ([EMAIL PROTECTED]) wrote: > Are you objecting only to the duplication at the callsites, so that an > fsnotify-type of consolidation of security and integrity hooks would be > ok? Or are you complaining that the security_inode_setxattr and > integrity_inode_setxattr hooks are too

Re: [PATCH] x86_64 RESTORE_CONTEXT missing '\n'

2007-03-08 Thread Dave Jiang
Andi Kleen wrote: > On Wednesday 07 March 2007 21:45, Dave Jiang wrote: >> The RESTORE_CONTEXT macro is missing the '\n' at the end. It was removed in >> the >> previous patch that touched system.h. It causes compile failure if any >> inline asm is added after the macro. Discovered this when playi

Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-08 Thread Christoph Lameter
On Thu, 8 Mar 2007, Mel Gorman wrote: > Brought up 4 CPUs > Node 0 CPUs: 0-3 > mm/memory.c:111: bad pud c50e4480. Lower bits must be clear right? Looks like the pud was released and then reused for a 64 byte cache or so. This is likely a freelist pointer that slub put there after allocat

Re: 2.6.21-rc3-mm1

2007-03-08 Thread Valdis . Kletnieks
On Wed, 07 Mar 2007 20:18:39 PST, Andrew Morton said: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm1/ Mostly working for me. > - The wireless changes in here need a lot of testers, please. It is major > rework. Working on it - the new MAC80211 s

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Anton Blanchard
> By the way, it's a massive snafu that the swap area magic number is > dependent on PAGE_SIZE. There is absolutely no good reason for that. Agreed, its been a big problem booting between 4kB and 64kB kernels on ppc64. Anton - To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Serge E. Hallyn
Quoting Chris Wright ([EMAIL PROTECTED]): > * Serge E. Hallyn ([EMAIL PROTECTED]) wrote: > > Are you objecting only to the duplication at the callsites, so that an > > fsnotify-type of consolidation of security and integrity hooks would be > > ok? Or are you complaining that the security_inode_set

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread H. Peter Anvin
Anton Blanchard wrote: By the way, it's a massive snafu that the swap area magic number is dependent on PAGE_SIZE. There is absolutely no good reason for that. Agreed, its been a big problem booting between 4kB and 64kB kernels on ppc64. The easiest way to fix this would be to always park th

Re: Possible "struct pid" leak from tty_io.c

2007-03-08 Thread Eric W. Biederman
"Catalin Marinas" <[EMAIL PROTECTED]> writes: > Hi Eric, > > I'm trying to track down a kmemleak report (on an ARM platform) which > seems to have appeared with commit > ab521dc0f8e117fd808d3e425216864d60390500. As I'm not familiar with the > TTY layer at all, is it possible that the above commit

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Dmitriy Monakhov
Mimi Zohar <[EMAIL PROTECTED]> writes: > This patch places calls to the new integrity hooks in the appropriate > places in the fs directory. It is not meant in any way to be viewed > as a complete set, but used as a basis for an initial discussion. > > Index: linux-2.6.21-rc3-mm2/fs/ext3/xattr_sec

Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-08 Thread Christoph Lameter
On Thu, 8 Mar 2007, Mel Gorman wrote: > > Note that the 16kb page size has a major > > impact on SLUB performance. On IA64 slub will use only 1/4th the locking > > overhead as on 4kb platforms. > It'll be interesting to see the kernbench tests then with debugging > disabled. You can get a simil

[GIT PATCH] repost I/OAT fixes

2007-03-08 Thread Christopher Leech
I/OAT fixes and missing documentation. Please pull from, git://lost.foo-projects.org/~cleech/linux-2.6#master -- Andrew Morton (1): I/OAT: warning fix Chris Leech (6): ioatdma: Push pending transactions to hardware more frequently ioatdma: Remove the wrappers around read(bwl)/

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Mimi Zohar
On Thu, 2007-03-08 at 09:40 -0800, Chris Wright wrote: > * Serge E. Hallyn ([EMAIL PROTECTED]) wrote: > > Are you objecting only to the duplication at the callsites, so that an > > fsnotify-type of consolidation of security and integrity hooks would be > > ok? Or are you complaining that the secur

/dev/null implementation question

2007-03-08 Thread Michael Nitschinger
Hello, I asked myself how /dev/null is implemented in C, but i didn't find anything in the documentation or generally on the internet. It would be great if someone could tell me where i can find the source for this device or how it is implemented, because it's really hard for me to crawl throug

[PATCH] VFS : Delay the dentry name generation on sockets and pipes.

2007-03-08 Thread Eric Dumazet
Hi Andrew I am sorry, my previous patch had a /proc/*/fd/ in a comment, so the */ closed the comment and fs/dcache.c could not compile. Could you please put this 'final-final' version in mm for testing ? Thank's to all contributors, sorry for the noise. [PATCH] VFS : Delay the dentry name gene

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Casey Schaufler
--- "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > It's unfortunate, agreed, but > > use of LSM as an integrity framework was also a > no-go. You're going to have to justify this assertion. I know of at least one work-in-progress for which LSM works just fine. Not to mention the Integrity cla

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Mimi Zohar
On Thu, 2007-03-08 at 21:16 +0300, Dmitriy Monakhov wrote: > Mimi Zohar <[EMAIL PROTECTED]> writes: > > > This patch places calls to the new integrity hooks in the appropriate > > places in the fs directory. It is not meant in any way to be viewed > > as a complete set, but used as a basis for an

[PATCH 2/3] aio: fix oops because of extra IO control block freeing.

2007-03-08 Thread Leonid Ananiev
From Leonid Ananiev This patch finishes moving from using errno EIOCBRETRY to using flag in IO control block for aio retrying. After this change the process will be kicked for direct aio as it was for sync aio. Signed-off-by: Leonid Ananiev <[EMAIL PROTECTED]> The patch is applied to 2.6.20

Re: [PATCH] x86_64 RESTORE_CONTEXT missing '\n'

2007-03-08 Thread Andi Kleen
On Thursday 08 March 2007 18:44, Dave Jiang wrote: > In spite of kgdb, shouldn't it have that \n anyways in case some other code > gets added in the future after the macro? Or are you saying that there should > never be any code ever after that macro? Sure if there is mainline code added after th

[PATCH 3/3] aio: fix oops because of extra IO control block freeing.

2007-03-08 Thread Leonid Ananiev
From Leonid Ananiev Clean up unused return values in aio_complete() and aio_run_iocb(). Signed-off-by: Leonid Ananiev [EMAIL PROTECTED] diff -uprN -X dontdiff linux-2.6.20-aio22/fs/aio.c linux-2.6.20-aio23/fs/aio.c --- linux-2.6.20-aio22/fs/aio.c2007-03-04 22:55:39.0 +0300 +++ lin

Re: passing function pointers through platform devices?

2007-03-08 Thread Haavard Skinnemoen
On 3/7/07, NZG <[EMAIL PROTECTED]> wrote: > Once the generic GPIO framework migrates upstream from -mm It already has: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4c20386c8d0719b42503efe65abe47ad3fb3d711 I googled extensively and requested information on a

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Serge E. Hallyn
Quoting Casey Schaufler ([EMAIL PROTECTED]): > > --- "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > > > > It's unfortunate, agreed, but > > > > use of LSM as an integrity framework was also a > > no-go. > > You're going to have to justify this assertion. You misunderstand. I wasn't saying it

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 12:05:49 -0500, Randy Cushman wrote: > > Takashi Iwai wrote: > > At Thu, 8 Mar 2007 17:52:43 +0100, > > Michal Piotrowski wrote: > > > >> On 08/03/07, Takashi Iwai <[EMAIL PROTECTED]> wrote: > >> > >>> At Thu, 08 Mar 2007 16:42:26 +0100, > >>> Michal Piotrowski wrote: >

Re: passing function pointers through platform devices?

2007-03-08 Thread NZG
>http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4c20386c8d0719b42503efe65abe47ad3fb3d711 > Your mail seems to be about a gpio userspace interface, which is > something entirely different from an in-kernel API, Sort of, IMHO sysfs classes seems the logical final inca

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Chris Wright
* Casey Schaufler ([EMAIL PROTECTED]) wrote: > > --- "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > > > > It's unfortunate, agreed, but > > > > use of LSM as an integrity framework was also a > > no-go. > > You're going to have to justify this assertion. > I know of at least one work-in-progr

Re: 2.6.21-rc3-mm1

2007-03-08 Thread John W. Linville
On Thu, Mar 08, 2007 at 12:56:58PM -0500, [EMAIL PROTECTED] wrote: > On Wed, 07 Mar 2007 20:18:39 PST, Andrew Morton said: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm1/ > > Mostly working for me. > > > - The wireless changes in here need a lot

Re: /dev/null implementation question

2007-03-08 Thread Randy Dunlap
On Thu, 8 Mar 2007 19:01:39 +0100 Michael Nitschinger wrote: > Hello, > > I asked myself how /dev/null is implemented in C, but i didn't find anything > in the documentation or generally on the internet. It would be great if > someone could tell me where i can find the source for this device or

Re: [PATCH] Loop device - Tracking page writes made to a loop devicethrough mmap

2007-03-08 Thread Jari Ruusu
Kandan Venkataraman wrote: > All comments have been taken care of. Your patch still does not do conversions of existing user space visible 'struct loop_info64' which is pretty much cast in stone. Blindly overwriting larger structure over smaller user space buffer of existing userspace binaries is

Re: the usage of DEBUG_DRIVER seems ambiguous

2007-03-08 Thread Randy Dunlap
On Wed, 7 Mar 2007 19:44:41 -0500 (EST) Robert P. J. Day wrote: > > the usage of the DEBUG_DRIVER preprocessor variable is a big > confusing: > > $ $ grep -rw DEBUG_DRIVER * > drivers/net/sunlance.c:#undef DEBUG_DRIVER > drivers/net/a2065.c:#ifdef DEBUG_DRIVER > drivers/net/a2065.c:#ifdef DEBU

  1   2   3   4   5   6   >