PERFORCE change 41911 for review
Chris Vance
cvance at FreeBSD.org
Mon Nov 10 16:53:50 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=41911
Change 41911 by cvance at cvance_osx_laptop on 2003/11/10 08:53:44
Add the number of arguments to extattr syscall declarations.
Add prototypes for extattr list functions.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/init_sysent.c#6 edit
.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/sys/extattr.h#3 edit
.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/vfs/vfs_syscalls.c#8 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/init_sysent.c#6 (text+ko) ====
@@ -765,18 +765,18 @@
syss(nosys,0), /* 348 */
syss(nosys,0), /* 349 */
- syss(extattrctl,0), /* 350 */
- syss(extattr_set_file,0), /* 351 */
- syss(extattr_get_file,0), /* 352 */
- syss(extattr_delete_file,0), /* 353 */
- syss(extattr_set_fd,0), /* 354 */
- syss(extattr_get_fd,0), /* 355 */
- syss(extattr_delete_fd,0), /* 356 */
- syss(extattr_set_link,0), /* 357 */
- syss(extattr_get_link,0), /* 358 */
- syss(extattr_delete_link,0), /* 359 */
- syss(extattr_list_fd,0), /* 360 */
- syss(extattr_list_file,0), /* 361 */
- syss(extattr_list_link,0) /* 362 */
+ syss(extattrctl,5), /* 350 */
+ syss(extattr_set_file,5), /* 351 */
+ syss(extattr_get_file,5), /* 352 */
+ syss(extattr_delete_file,3), /* 353 */
+ syss(extattr_set_fd,5), /* 354 */
+ syss(extattr_get_fd,5), /* 355 */
+ syss(extattr_delete_fd,3), /* 356 */
+ syss(extattr_set_link,5), /* 357 */
+ syss(extattr_get_link,5), /* 358 */
+ syss(extattr_delete_link,3), /* 359 */
+ syss(extattr_list_fd,4), /* 360 */
+ syss(extattr_list_file,4), /* 361 */
+ syss(extattr_list_link,4) /* 362 */
};
int nsysent = sizeof(sysent) / sizeof(sysent[0]);
==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/sys/extattr.h#3 (text+ko) ====
@@ -68,6 +68,12 @@
const char *_attrname, void *_data, size_t _nbytes);
ssize_t extattr_get_link(const char *_path, int _attrnamespace,
const char *_attrname, void *_data, size_t _nbytes);
+ssize_t extattr_list_fd(int _fd, int _attrnamespace, void *_data,
+ size_t _nbytes);
+ssize_t extattr_list_file(const char *_path, int _attrnamespace, void *_data,
+ size_t _nbytes);
+ssize_t extattr_list_link(const char *_path, int _attrnamespace, void *_data,
+ size_t _nbytes);
int extattr_set_fd(int _fd, int _attrnamespace, const char *_attrname,
const void *_data, size_t _nbytes);
int extattr_set_file(const char *_path, int _attrnamespace,
==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/vfs/vfs_syscalls.c#8 (text+ko) ====
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list