Re: [PATCH] audit: wait_for_auditd() should use TASK_UNINTERRUPTIBLE

2013-05-29 Thread Guy Streeter
this becomes a busy-wait loop, >> schedule() in TASK_INTERRUPTIBLE won't block. > > And that's game over for a uniprocessor non-preempt machine, yes? > >> Reported-by: Guy Streeter > > And what did Guy report? "that looks screwy"? "my machin

Re: 4096 byte limit to /proc/PID/environ ?

2007-08-21 Thread Guy Streeter
On 8/15/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote: > Guy Streeter wrote: > > On 6/1/06, James Pearson <[EMAIL PROTECTED]> wrote: > >> H. Peter Anvin wrote: > >>> I think this is the wrong approach. > >>> > >>> Many of these sho

Re: 4096 byte limit to /proc/PID/environ ?

2007-08-15 Thread Guy Streeter
1776,10 @@ > inode->i_op = &proc_mem_inode_operations; > inode->i_fop = &proc_mem_operations; > break; > + case PROC_TID_ENVIRON: > + case PROC_TGID_ENVIRON: > + inode->i_fop = &proc_env_operations; > + break; > #ifdef CONFIG_SECCOMP > case PROC_TID_SECCOMP: > case PROC_TGID_SECCOMP: > - This thread has gone stale. The PAGE_SIZE limit still exists. Is this solution acceptable? thanks, --Guy Streeter - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] Cap shmmax at INT_MAX in compat shminfo

2007-02-27 Thread Guy Streeter
The value of shmmax may be larger than will fit in the struct used by the 32bit compat version of sys_shmctl. This change mirrors what the normal sys_shmctl does when called with the old IPC_INFO command. Signed-off-by: Guy Streeter <[EMAIL PROTECTED]> --- ipc/compat.c |4 1

[PATCH] correct sys_shmget allocation check

2007-01-23 Thread Guy Streeter
As written, sys_shmget will return ENOSPC when one page is still available for allocation. This patch corrects the test. Signed-off-by: Guy Streeter <[EMAIL PROTECTED]> -- Index: linux-2.6/ipc/shm.c === --- linux-2.6.or