Re: [PATCH 1/1] procfs: expose umask in stat and status

From: Cong Wang
Date: Fri May 04 2012 - 23:19:14 EST


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...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/