Messages in this thread | | | Date | Sat, 3 Sep 2016 01:13:01 +0100 | From | Al Viro <> | Subject | Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping |
| |
On Tue, Aug 30, 2016 at 04:33:12PM +0200, Oleg Nesterov wrote: > > + inode = ramfs_get_inode(sb, NULL, S_IFREG | S_IRUGO | S_IXUGO, 0);
> Not sure... I think alloc_anon_inode() makes more sense.
Compared to this, you mean? It's going to give you the wrong permissions/i_op/a_ops, and you'll have to assign them manually. ramfs already gives the right ones for what's wanted, AFAICS.
| |