On Wed, Nov 07, 2001 at 02:32:18AM +0100, Andi Kleen wrote:
> On Wed, Nov 07, 2001 at 11:12:24AM +1100, Nathan Scott wrote:
> > A manual page describing the system call interface can be found here.
> > We're very interested in feedback on this. In particular, Linus - would
> The cursor support looks quite complicated. ...
> Stateless cursors are just nasty!
We've removed the cursor operations, and gone back to Andreas'
original, simpler list approach. Revised versions of the two
extattr man pages are in the XFS CVS repository, or use:
I notice that 2.4.15-pre3 doesn't have the patch below - Linus,
Alan, could you please apply it? - it will help us a great deal.
This would be useful to the ext2/ext3, InterMezzo/SnapFS, NTFS,
XFS, JFS and BeFS filesystem implementations for Linux, and to
any other filesystems planning to support extended attributes
in the future as well.
diff -Naur 2.4.14-pristine/arch/i386/kernel/entry.S
--- 2.4.14-pristine/arch/i386/kernel/entry.S Sat Nov 3 12:18:49 2001
+++ 2.4.14-reserved/arch/i386/kernel/entry.S Wed Nov 7 10:02:59 2001
@@ -622,6 +622,9 @@
.long SYMBOL_NAME(sys_ni_syscall) /* Reserved for Security */
.long SYMBOL_NAME(sys_readahead) /* 225 */
+ .long SYMBOL_NAME(sys_ni_syscall) /* reserved for extattr */
+ .long SYMBOL_NAME(sys_ni_syscall) /* reserved for lextattr */
+ .long SYMBOL_NAME(sys_ni_syscall) /* reserved for fextattr */
diff -Naur 2.4.14-pristine/include/asm-i386/unistd.h
--- 2.4.14-pristine/include/asm-i386/unistd.h Thu Oct 18 03:03:03 2001
+++ 2.4.14-reserved/include/asm-i386/unistd.h Wed Nov 7 10:02:59 2001
@@ -230,6 +230,9 @@
#define __NR_security 223 /* syscall for security modules */
#define __NR_gettid 224
#define __NR_readahead 225
+#define __NR_extattr 226 /* syscall for extended attributes */
+#define __NR_lextattr 227 /* syscall for extended attributes */
+#define __NR_fextattr 228 /* syscall for extended attributes */
/* user-visible error numbers are in the range -1 - -124: see