* 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:
Corinna Vinschen
2005-02-19 20:03:18 +00:00
parent 2d7606a594
commit c2d0b9d89a
3 changed files with 70 additions and 5 deletions

View File

@ -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;}
};