diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-04-01 17:17:46 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-04-01 17:17:46 +0000 |
commit | 2d388e433f7ec42fe63bf1f8accc59895e5e34f8 (patch) | |
tree | bc2ecb14c42a874a14120f3a1ba298df96aec431 /winsup/cygwin/fhandler_socket.cc | |
parent | 31ee99a41e8050038f346ad238e0955c52fd3f92 (diff) | |
download | cygnal-2d388e433f7ec42fe63bf1f8accc59895e5e34f8.tar.gz cygnal-2d388e433f7ec42fe63bf1f8accc59895e5e34f8.tar.bz2 cygnal-2d388e433f7ec42fe63bf1f8accc59895e5e34f8.zip |
* fhandler.cc (fhandler_base::fstat): Set the uid and gid fields
from the current effective ids.
* fhandler_socket.cc (fhandler_socket::fstat): Keep the uid and gid set
by fhandler_base::fstat.
* security.cc (get_nt_attribute): Do not test wincap.has_security ().
(get_nt_object_attribute): Ditto.
(get_file_attribute): Add test for wincap.has_security ().
(get_object_attribute): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r-- | winsup/cygwin/fhandler_socket.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index a665c6cc5..127463757 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -444,8 +444,6 @@ fhandler_socket::fstat (struct __stat64 *buf, path_conv *pc) buf->st_dev = 0; buf->st_ino = (ino_t) get_handle (); buf->st_mode = S_IFSOCK | S_IRWXU | S_IRWXG | S_IRWXO; - buf->st_uid = geteuid32 (); - buf->st_gid = getegid32 (); } else { |