Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1475508
| From | Al Viro <viro@ZenIV.linux.org.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping |
| Date | 2016-09-03 02:20 +0200 |
| Message-ID | <sd6QG-6ph-19@gated-at.bofh.it> (permalink) |
| References | <sa8YG-5nC-19@gated-at.bofh.it> <sa8YG-5nC-21@gated-at.bofh.it> <sbSmJ-67O-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping Oleg Nesterov <oleg@redhat.com> - 2016-08-30 16:40 +0200 Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping Dmitry Safonov <0x7f454c46@gmail.com> - 2016-08-30 17:00 +0200 Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping Al Viro <viro@ZenIV.linux.org.uk> - 2016-09-03 02:20 +0200
csiph-web