mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Cong Wang <xiyou.wangcong@gmail.com>
To: Pierre Carrier <pierre@spotify.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Rob Landley <rob@landley.net>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] procfs: expose umask in stat and status
Date: Sat, 05 May 2012 11:15:21 +0800	[thread overview]
Message-ID: <4FA49B49.9000203@gmail.com> (raw)
In-Reply-To: <1336186227-1941-1-git-send-email-pierre@spotify.com>

On 05/05/2012 10:50 AM, Pierre Carrier wrote:
> A new stat field uses decimal, contains umask or -ENOENT if !task->fs.

How is it useful to display numeric -ENOENT in a /proc file?

> A new status line is displayed if task->fs, and uses octal.

So sometimes "Umask:" is displayed, sometimes not...

  reply	other threads:[~2012-05-05  3:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-05  2:50 Pierre Carrier
2012-05-05  3:15 ` Cong Wang [this message]
2012-05-05  4:19   ` Pierre Carrier
2012-05-05  4:53 ` Stephen Rothwell
2012-05-05  4:54 ` Stephen Rothwell
2012-05-05 11:57   ` Pierre Carrier
2012-05-05 13:00     ` Stephen Rothwell
2012-05-05 13:49       ` Pierre Carrier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA49B49.9000203@gmail.com \
    --to=xiyou.wangcong@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=pierre@spotify.com \
    --cc=rob@landley.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®