lkml.org 
[lkml]   [2016]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.

\
 
 \ /
  Last update: 2016-09-17 09:58    [W:1.077 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site