aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-03-02 12:52:52 +0000
committerRon Yorston <rmy@pobox.com>2019-03-02 13:11:38 +0000
commitcf46a1c167ce3d532b10e83b6cc2a1994ac09668 (patch)
tree75e59b882ddf5b0c570eb9f6c6cef609c7160021 /include
parentd6a7bfff8a510bb4035fbd1cf29b555abff65b2f (diff)
downloadbusybox-w32-cf46a1c167ce3d532b10e83b6cc2a1994ac09668.tar.gz
busybox-w32-cf46a1c167ce3d532b10e83b6cc2a1994ac09668.tar.bz2
busybox-w32-cf46a1c167ce3d532b10e83b6cc2a1994ac09668.zip
win32: let stat(2) report numeric uids for local users
Further extend file identification so stat(2) returns the relative identifier as a numeric uid for files with owner SIDs that look like a local or domain user. See: https://blogs.technet.microsoft.com/markrussinovich/2009/11/03/the-machine-sid-duplication-myth-and-why-sysprep-matters/ https://cygwin.com/cygwin-ug-net/ntsec.html
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mingw.h b/include/mingw.h
index f8e833138..f99582ca5 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -8,8 +8,8 @@
8typedef int gid_t; 8typedef int gid_t;
9typedef int uid_t; 9typedef int uid_t;
10 10
11#define DEFAULT_UID 1000 11#define DEFAULT_UID 4095
12#define DEFAULT_GID 1000 12#define DEFAULT_GID 4095
13 13
14/* 14/*
15 * arpa/inet.h 15 * arpa/inet.h