[GIT PULL] jfs update
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git for-linus This will update the following files: fs/jfs/inode.c | 2 +- fs/jfs/jfs_dmap.c | 16 ++++++++-------- fs/jfs/jfs_dmap.h | 6 +++--- fs/jfs/jfs_inode.h | 1 + fs/jfs/namei.c | 4 ++-- ... 23 Apr 2010 21:13
Please pull logfs tree for fixes
Another set of fixes. Two of them are security relevant. But given that an attacker needs mount access and few people have logfs compiled in, that's unlikely to be a huge issue. gc.c | 8 ++++++ journal.c | 29 ++++++++++++++--------- logfs.h | 15 ++++++++++-- readwrite.c | 75 ++++++++... 23 Apr 2010 21:13
[PATCH 2.6.34-rc1] proc: fix badness in fs/proc/generic.c
fix badness in fs/proc/generic.c, Bug 15589 - 2.6.34-rc1: Badness at fs/proc/generic.c:316 Signed-off-by: Guanjun He <heguanbo(a)gmail.com> --- diff -Nupr linux-2.6.34-rc1.orig/fs/proc/generic.c linux-2.6.34-rc1/fs/proc/generic.c --- linux-2.6.34-rc1.orig/fs/proc/generic.c 2010-03-09 02:45:44.000000000 +... 23 Apr 2010 21:12
p9auth: split core function out of some set*{u,g}id functions
Serge E. Hallyn <serue(a)us.ibm.com> wrote: +int cred_setresuid(struct cred *new, uid_t ruid, uid_t euid, uid_t suid, + int force); +int cred_setresgid(struct cred *new, gid_t rgid, gid_t egid, gid_t sgid, + int force); +int cred_setfsuid(struct cred *new, uid_t uid, uid_t *old_fsuid); +int cr... 4 May 2010 11:12
[patch] fs/sysv: dereferencing ERR_PTR()
I moved the dir_put_page() inside the if condition so we don't dereference "page", if it's an ERR_PTR(). Signed-off-by: Dan Carpenter <error27(a)gmail.com> diff --git a/fs/sysv/dir.c b/fs/sysv/dir.c index 4e50286..1dabed2 100644 --- a/fs/sysv/dir.c +++ b/fs/sysv/dir.c @@ -164,8 +164,8 @@ struct sysv_dir_entry ... 23 Apr 2010 21:12
drivers/uio/uio_pci_generic.c: allow access for non-privileged processes
On Wed, Apr 21, 2010 at 12:38:49PM +0300, Michael S. Tsirkin wrote: + j++; + } + } + for (i = 0, j = 0; i < PCI_STD_RESOURCE_END && + j < MAX_UIO_PORT_REGIONS; i++) { + if (pci_resource_flags(pdev, i) & IORESOURCE_IO) { + name = kmalloc(8, GFP_KERNEL); + if (name... 23 Apr 2010 21:12
[patch] ksm: check for ERR_PTR from follow_page()
The follow_page() function can potentially return -EFAULT so I added checks for this. Also I silenced an uninitialized variable warning on my version of gcc (version 4.3.2). Signed-off-by: Dan Carpenter <error27(a)gmail.com> --- I'm not very familiar with this code, so handle with care. diff --git a/mm/ksm... 23 Apr 2010 21:12
[PATCH 09/13] via: Rationalize vt1636 detection
The code was ugly and didn't check whether i2c operations were succeeding; make it a little better. Signed-off-by: Jonathan Corbet <corbet(a)lwn.net> --- drivers/video/via/vt1636.c | 20 +++++++------------- 1 files changed, 7 insertions(+), 13 deletions(-) diff --git a/drivers/video/via/vt1636.c b/drivers/v... 23 Apr 2010 21:12
hugetlbfs: Kill applications that use MAP_NORESERVE with SIGBUS instead of OOM-killer
On Tue, Apr 20, 2010 at 04:33:07PM -0700, Andrew Morton wrote: On Tue, 20 Apr 2010 18:44:07 +0100 Mel Gorman <mel(a)csn.ul.ie> wrote: Ordinarily, application using hugetlbfs will create mappings with reserves. For shared mappings, these pages are reserved before mmap() returns success and for pri... 23 Apr 2010 21:12
[PATCH] CRED: Fix a race in creds_are_invalid() in credentials debugging
creds_are_invalid() reads both cred->usage and cred->subscribers and then compares them to make sure the number of processes subscribed to a cred struct never exceeds the refcount of that cred struct. The problem is that this can cause a race with both copy_creds() and exit_creds() as the two counters, whilst the... 23 Apr 2010 21:12