[Libsysio-commit] HEAD: libsysio/include dev.h
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2009-05-05 16:35:39
|
Update of /cvsroot/libsysio/libsysio/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30476/include Modified Files: dev.h Log Message: Modified to reflect the new, required, perms_check operation. The generic dev returns -EBADF, of course. The incore and native drivers just use the default core policy routine. Index: dev.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/dev.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -w -b -B -p -r1.16 -r1.17 --- dev.h 14 Apr 2009 17:03:06 -0000 1.16 +++ dev.h 5 May 2009 16:35:29 -0000 1.17 @@ -142,6 +142,8 @@ extern const struct inode_ops _sysio_nod (int (*)(struct pnode *, \ struct intnl_statvfs *))_sysio_do_illop #endif +#define _sysio_nodev_inop_perms_check \ + (int (*)(struct pnode *, int amode, int effective))_sysio_do_ebadf #define _sysio_nodev_inop_gone \ (void (*)(struct inode *))_sysio_do_noop |