Re: [PATCH] x32: Mask away the x32 syscall bit in the ptrace codepath

2014-05-28 Thread Philipp Kern
is set as that's the only identifier it has to deduce that the binary is running in x32 mode. Out of range syscall numbers certainly do not work for auditing right now, hence my attempt to patch around it. Kind regards and thanks Philipp Kern -- To unsubscribe from this list: send the line &quo

Re: [PATCH] x32: Mask away the x32 syscall bit in the ptrace codepath

2014-05-28 Thread Philipp Kern
On Wed, May 28, 2014 at 10:47 PM, Andy Lutomirski wrote: > On 05/28/2014 05:19 AM, Philipp Kern wrote: > > audit_filter_syscall uses the syscall number to reference into a > > bitmask (e->rule.mask[word]). Not removing the x32 bit before passing > > the number to this

[PATCH] x32: Mask away the x32 syscall bit in the ptrace codepath

2014-05-28 Thread Philipp Kern
the syscall path. Cc: linux-kernel@vger.kernel.org Cc: H. J. Lu Cc: Eric Paris Signed-off-by: Philipp Kern --- arch/x86/kernel/ptrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index 678c0ad..166a3c7 100644 --- a/arch/

[PATCH] x32: Mask the syscall number before passing it to audit

2014-05-26 Thread Philipp Kern
if the out of bound location is not mapped: BUG: unable to handle kernel paging request at 8800e5446630 IP: [] audit_filter_syscall+0x90/0xf0 Cc: linux-kernel@vger.kernel.org Cc: H. J. Lu Signed-off-by: Philipp Kern --- arch/x86/kernel/entry_64.S | 3 +++ 1 file changed, 3 inserti

Re: [PATCH] net: move "IPv6: sending pkt_too_big to self" to NETDEBUG

2012-07-29 Thread Philipp Kern
On Sat, Jul 28, 2012 at 10:29:20AM -0700, Joe Perches wrote: > On Sat, 2012-07-28 at 17:06 +0200, Philipp Kern wrote: > > ip6_xmit checks if the outgoing packet is larger than the path MTU and > > emits ICMPv6 packet too big locally if this is the case. Logging this, > &g

[PATCH] net: move "IPv6: sending pkt_too_big to self" to NETDEBUG

2012-07-28 Thread Philipp Kern
event. Hence move this message to LIMIT_NETDEBUG, as suggested by Andi Kleen back in 2001 (<20010215231715.26...@colin.muc.de>). Signed-off-by: Philipp Kern --- net/ipv6/ip6_output.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/ip6_output.c b/ne

Re: PROBLEM: blocking read on socket repeatedly returns EAGAIN

2005-08-16 Thread Kern Sibbald
On Tuesday 16 August 2005 20:39, David S. Miller wrote: > From: Kern Sibbald <[EMAIL PROTECTED]> > Date: Tue, 16 Aug 2005 16:38:14 +0200 > > > Someone is setting nonblocking on my socket ! > > Glad that's resolved... Yes, my stupidity. There was one more fcn

Re: PROBLEM: blocking read on socket repeatedly returns EAGAIN

2005-08-16 Thread Kern Sibbald
On Tuesday 16 August 2005 16:03, Alan Cox wrote: > On Maw, 2005-08-16 at 15:19 +0200, Kern Sibbald wrote: > > have written, nor does it write() anything. When my read() is issued, I > > expect it to block, but it immediately returns with -1 and errno set to > > EAGAIN. If th

Re: PROBLEM: blocking read on socket repeatedly returns EAGAIN

2005-08-16 Thread Kern Sibbald
On Tuesday 16 August 2005 16:03, Alan Cox wrote: > On Maw, 2005-08-16 at 15:19 +0200, Kern Sibbald wrote: > > have written, nor does it write() anything. When my read() is issued, I > > expect it to block, but it immediately returns with -1 and errno set to > > EAGAIN. If th

PROBLEM: blocking read on socket repeatedly returns EAGAIN

2005-08-16 Thread Kern Sibbald
398_FC4smp ([EMAIL PROTECTED]) (gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)) #1 SMP Fri Jul 15 01:30:13 EDT 2005 This problem occurs in my network backup program, Bacula, so it would be a fair amount of work to send you a program that shows this behavior. Best regards, Kern - To unsubscribe from

tcp stack tuning and Checkpoint FW1 & Legato Networker

2001-07-04 Thread kern
Hi, Can someone point me to a document that describes how to tune the tcp stack for Linux kernels 2.4.x and 2.2.x I want to set the tcp_keepalive timer to 60 seconds and understand possible implications for Linux. Simply I have a problem with Checkpoint FW1 and Legato Backup: When making a bac

hostid derived from...

2001-03-21 Thread kern
hi, how does linux provide the hostid string? on a sun box this is a guaranteed unique identifier, since AFAIK intel architecture does not have this unique identifier can two linux boxes end up with same hostid by chance? thanks in advance mark - To unsubscribe from this list: send the line "