Thread (20 messages) 20 messages, 5 authors, 2021-02-10

Re: [PATCH v2 1/2] pinctrl: use to octal permissions for debugfs files

From: Andy Shevchenko <hidden>
Date: 2021-02-10 10:28:23
Also in: lkml

On Wed, Feb 10, 2021 at 10:31 AM Geert Uytterhoeven
[off-list ref] wrote:
On Wed, Feb 10, 2021 at 8:50 AM Drew Fustini [off-list ref] wrote:
...
quoted
-       debugfs_create_file("pinctrl-devices", S_IFREG | S_IRUGO,
+       debugfs_create_file("pinctrl-devices", 0400,
What about the loss of S_IFREG?
What do you mean?
https://elixir.bootlin.com/linux/latest/source/fs/debugfs/inode.c#L387

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help