From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19475 invoked by alias); 20 Nov 2006 18:07:17 -0000 Received: (qmail 19378 invoked by uid 22791); 20 Nov 2006 18:07:16 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 20 Nov 2006 18:07:09 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id kAKI6vNd032347; Mon, 20 Nov 2006 13:06:57 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id kAKI6mEr001901; Mon, 20 Nov 2006 13:06:54 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id kAKI6lit009604; Mon, 20 Nov 2006 13:06:47 -0500 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id A8F44800002; Mon, 20 Nov 2006 13:06:47 -0500 (EST) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id kAKI6ldi011617; Mon, 20 Nov 2006 13:06:47 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id kAKI6kGj011614; Mon, 20 Nov 2006 13:06:46 -0500 X-Authentication-Warning: ton.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: Li Guanglei Cc: Eugene Teo , systemtap@sourceware.org Subject: Re: Overflow? References: <455EB8E8.5000904@redhat.com> <45615DBD.8010804@cn.ibm.com> <45615E1E.3050005@redhat.com> <45617E9E.9000106@cn.ibm.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Mon, 20 Nov 2006 21:00:00 -0000 In-Reply-To: <45617E9E.9000106@cn.ibm.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q4/txt/msg00473.txt.bz2 Li Guanglei writes: > asmlinkage long sys_open(const char __user *filename, int flags, int mode) > [...] > Nov 20 18:00:01 localhost kernel: lgl, sys_open: > name:/lib/libselinux.so.1, flags:0, mode:-1074164556 The mode argument is optional, and is only set when flags includes O_CREAT. > [...] anyone has idea about why mode will be a negative value? > [...] (By the way, those large negative numbers you were seeing are in the neighbourhood of the thread stack.) - FChE