Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-07-20 18:29:43 +0400
committerCorinna Vinschen <corinna@vinschen.de>2007-07-20 18:29:43 +0400
commiteea4e4820871fcc7c39392606e8ac07620ebe49b (patch)
tree9e65dc78ab11fa976c49b6eee3bfdacf93b0e89e /winsup/cygwin/sec_helper.cc
parentf36b37ed6ea793ce33ec84c694f772fb6de1ddd4 (diff)
* fhandler.cc (fhandler_base::fhaccess): Accommodate interface changes
of access control functions throughout. * fhandler_disk_file.cc: Ditto. * fhandler_registry.cc: Ditto. * sec_acl.cc: Drop unnecessary includes. (setacl): Take path_conv instead of file name as parameter. Accommodate interface changes of access control functions. (getacl): Ditto. * sec_auth.cc: New file, taking over all authentication related functions from security.cc. * sec_helper.cc: Drop unnecessary includes. * security.cc: Ditto. Move all authentication related functions to sec_auth.cc. (ALL_SECURITY_INFORMATION): New define. Use throughout. (set_file_sd): New function, replacing read_sd and the file related part of get_nt_object_security. (get_reg_sd): Rename from get_reg_security. Drop type parameter. (get_reg_attribute): New function, replacing the registry related part of get_nt_object_security. (get_file_attribute): Take path_conv instead of file name as parameter. Use new get_file_sd call. (set_file_attribute): Ditto plus new set_file_sd. Drop unnecessary implementation without uid/gid parameters. (check_file_access): Take path_conv instead of file name as parameter. Use new get_file_sd call. (check_registry_access): Use new get_reg_sd call. * security.h: Accommodate above interface changes.
Diffstat (limited to 'winsup/cygwin/sec_helper.cc')
-rw-r--r--winsup/cygwin/sec_helper.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc
index 4fb6252bc..7fc9492ad 100644
--- a/winsup/cygwin/sec_helper.cc
+++ b/winsup/cygwin/sec_helper.cc
@@ -11,17 +11,8 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#include "winsup.h"
-#include <grp.h>
-#include <pwd.h>
-#include <unistd.h>
#include <stdlib.h>
-#include <limits.h>
-#include <sys/stat.h>
#include <sys/acl.h>
-#include <ctype.h>
-#include <wingdi.h>
-#include <winuser.h>
-#include <wininet.h>
#include "cygerrno.h"
#include "security.h"
#include "path.h"
@@ -29,7 +20,6 @@ details. */
#include "dtable.h"
#include "pinfo.h"
#include "cygheap.h"
-#include "cygtls.h"
#include "pwdgrp.h"
#include "ntdll.h"