* fhandler.h (class fhandler_socket): Declare new methods fchown,
fchmod and facl. * fhandler_socket.cc (fhandler_socket::fstat): Handle AF_LOCAL sockets. (fhandler_socket::fchmod): New method. (fhandler_socket::fchown): New method. (fhandler_socket::facl): New method.
This commit is contained in:
		| @@ -433,6 +433,9 @@ class fhandler_socket: public fhandler_base | ||||
|   void signal_secret_event (); | ||||
|   void close_secret_event (); | ||||
|   int __stdcall fstat (struct __stat64 *buf) __attribute__ ((regparm (2))); | ||||
|   int __stdcall fchmod (mode_t mode) __attribute__ ((regparm (1))); | ||||
|   int __stdcall fchown (__uid32_t uid, __gid32_t gid) __attribute__ ((regparm (2))); | ||||
|   int __stdcall facl (int, int, __acl32 *) __attribute__ ((regparm (3))); | ||||
|   bool is_slow () {return 1;} | ||||
| }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user