Re: [patch] setxattr.2: Add ERANGE to 'ERRORS' section

2019-08-01 Thread Michael Kerrisk (man-pages)
Hello Finn, On 7/31/19 9:53 PM, Finn O'Leary wrote: > Hi, > > Both the Ext2 filesystem handler and the Ext4 filesystem handler will > return the ERANGE error code. Ext2 will return it if the name or value > is > too long to be able to be stored, Ext4 will return it if the name is too > long. For

[patch] setxattr.2: Add ERANGE to 'ERRORS' section

2019-07-31 Thread Finn O'Leary
Hi, Both the Ext2 filesystem handler and the Ext4 filesystem handler will return the ERANGE error code. Ext2 will return it if the name or value is too long to be able to be stored, Ext4 will return it if the name is too long. For reference, the relevant files/lines (with excerpts) are: fs/ext