Re: [PATCH 1/1] include/uapi: Define AT_FDNODIR constant as future guarantee

2014-07-09 Thread Steven Stewart-Gallus
Thank you for the criticisms Christopher Hellwig. I will edit the commit message to be better and comments in the code to be clearer. I will also document the constant in the manpages. I think I will call the constant AT_FDABSOLUTE though because I want it to be prepended with FD the same way AT_F

Re: [PATCH 1/1] include/uapi: Define AT_FDNODIR constant as future guarantee

2014-07-08 Thread Christoph Hellwig
On Sat, Jul 05, 2014 at 07:51:19PM +, Steven Stewart-Gallus wrote: > From: Steven Stewart-Gallus > This constant means that in the far future it might be possible to > define other AT_FD* constants. > > Signed-off-by: Steven Stewart-Gallus > --- > > This is my first kernel patch but this i

[PATCH 1/1] include/uapi: Define AT_FDNODIR constant as future guarantee

2014-07-05 Thread Steven Stewart-Gallus
From: Steven Stewart-Gallus --- This is my first kernel patch but this is really trivial so I hope I'm doing this right. diff --git a/include/uapi/linux/fcntl.h b/include/uapi/linux/fcntl.h index 074b886..92223f0 100644 --- a/include/uapi/linux/fcntl.h +++ b/include/uapi/linux/fcntl.h @@ -38,9 +