Re: [PATCH] statfs: don't quote f_type macro names

2016-04-24 Thread Dmitry V. Levin
On Sun, Apr 24, 2016 at 07:28:35PM -0500, Zev Weiss wrote: > On Mon, Apr 25, 2016 at 03:17:09AM +0300, Dmitry V. Levin wrote: > >On Sun, Apr 24, 2016 at 06:52:44PM -0500, Zev Weiss wrote: > >>Hello, > >> > >>I noticed recently that strace puts quotes around the f_type member of > >>struct statfs: >

Re: [PATCH] statfs: don't quote f_type macro names

2016-04-24 Thread Zev Weiss
On Mon, Apr 25, 2016 at 03:17:09AM +0300, Dmitry V. Levin wrote: Hi, On Sun, Apr 24, 2016 at 06:52:44PM -0500, Zev Weiss wrote: Hello, I noticed recently that strace puts quotes around the f_type member of struct statfs: statfs(".", {f_type="EXT2_SUPER_MAGIC", ...}) = 0 The double-quotes se

Re: [PATCH] statfs: don't quote f_type macro names

2016-04-24 Thread Dmitry V. Levin
Hi, On Sun, Apr 24, 2016 at 06:52:44PM -0500, Zev Weiss wrote: > Hello, > > I noticed recently that strace puts quotes around the f_type member of > struct statfs: > > statfs(".", {f_type="EXT2_SUPER_MAGIC", ...}) = 0 > > The double-quotes seem to predate git history; ChangeLog-CVS indicates

[PATCH] statfs: don't quote f_type macro names

2016-04-24 Thread Zev Weiss
Hello, I noticed recently that strace puts quotes around the f_type member of struct statfs: statfs(".", {f_type="EXT2_SUPER_MAGIC", ...}) = 0 The double-quotes seem to predate git history; ChangeLog-CVS indicates they were added intentionally in a commit from Rick Sladkey in 1995 ("Enclos

Re: [RFC v2] Decode UFFDIO_* ioctls

2016-04-24 Thread Dmitry V. Levin
On Sat, Apr 23, 2016 at 05:39:42AM +0300, Dmitry V. Levin wrote: > On Fri, Apr 22, 2016 at 07:02:08PM +0100, Dr. David Alan Gilbert (git) wrote: > > !!! TODO! > >Add some tests (How do I make it immune from kernel changes to flags > >returned?) > > > Can't you just print whatever is