From 3872e9a41944f7f77cf8eea6970c6f3fd5d8fb43 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 2 Jul 2003 03:16:00 +0000 Subject: * Makefile.in: Remove cygserver stuff. * acconfig.h: Add USE_CYGSERVER define. * config.h.in: Regenerate. * configure.in: Add --enable-server setting. * configure: Regenerate. * fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize compilation of cygserver stuff. * fork.cc (fork_child): Ditto. * shm.cc: Ditto. * tty.cc (tty::common_init): Ditto. * dcrt0.cc: Use bool rather than BOOL for CYGWIN environment variable definitions. * environ.cc: Ditto. * ntea.cc: Ditto. * security.cc: Ditto. * security.h: Ditto. * syscalls.cc (check_posix_perm): Remove externs that were already declared in a header. * winsup.h: Ditto. Declare _MT_SAFE here. Delete it someday since cygwin should always be _MT_SAFE. --- winsup/cygwin/security.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/security.cc') diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc index 5ccf37e3d..c08e1abe3 100644 --- a/winsup/cygwin/security.cc +++ b/winsup/cygwin/security.cc @@ -40,12 +40,11 @@ details. */ #include "lm.h" #include "pwdgrp.h" -extern BOOL allow_ntea; -BOOL allow_ntsec; +bool allow_ntsec; /* allow_smbntsec is handled exclusively in path.cc (path_conv::check). It's defined here because of it's strong relationship to allow_ntsec. The default is TRUE to reflect the old behaviour. */ -BOOL allow_smbntsec; +bool allow_smbntsec; cygsid * cygsidlist::alloc_sids (int n) -- cgit v1.2.3