Commit Graph

152 Commits (eefa41c3856c9bd3a05b2b599daca89b81f9f582)

Author SHA1 Message Date
jpandre 99ff26cb0b Developped processing of static supplementary groups 2007-12-07 08:46:36 +00:00
jpandre 4a41445698 Added alignment checks in ACL sanity checking 2007-12-04 07:55:59 +00:00
jpandre 9557f92cd0 Fixed compatibility with Windows for allowing writes to group and world 2007-12-02 20:23:17 +00:00
jpandre d49a557167 Fixed recognition of alternate world SID 2007-12-02 20:22:22 +00:00
jpandre 3284b3fd4a Fixed a memory leak when user mapping is not activated 2007-11-29 11:17:42 +00:00
jpandre d78230bb7f Fixed audit functions 2007-11-24 09:25:22 +00:00
jpandre fe34d3f231 Extended security API for auditing security data 2007-11-23 10:50:15 +00:00
jpandre d6cbe236e9 Fixed "Dr Watson" situation again 2007-11-23 10:48:47 +00:00
jpandre f73e9ed9ce Fixed setting of read-only flag 2007-11-20 13:48:15 +00:00
jpandre b2025c15d0 Fixed access to files owned by root with access granted to a user 2007-11-20 07:25:03 +00:00
jpandre ea6d22763e Fixed flags checking in security descriptors 2007-11-20 07:21:56 +00:00
jpandre d519250d5b Tested security fields offset rather than flags in security API for consistency with "Dr Watson" case 2007-11-10 18:00:13 +00:00
jpandre 943248d0cf Considered security descriptors with no DACL as valid (for "DR Watson") 2007-11-10 15:52:37 +00:00
jpandre 84b00ba63a Set files created by unmapped users as created by root 2007-11-09 09:05:13 +00:00
jpandre e8d01bead0 Logged circumstances in which errno is set to EIO 2007-11-08 18:30:41 +00:00
jpandre afb21cdd92 Fixed clearing setgid if file group does not match process group 2007-11-06 16:39:24 +00:00
jpandre 2b2f210d57 Cleared gaps between $Secure:$SDS records to avoid warnings from chkdsk 2007-11-05 16:46:52 +00:00
jpandre dfdbc7c1f6 Fixed setuid and setgid (for directories, and if owner == group) 2007-11-01 20:51:15 +00:00
jpandre 0a6f37914c Fixed group ACE when group is owner and either setuid or setgid 2007-11-01 14:20:03 +00:00
jpandre cd25021844 Reorganized file creation to avoid temporary security settings 2007-10-30 17:09:11 +00:00
jpandre 442cbe8a73 Fixed header after merging security attributes 2007-10-30 08:54:31 +00:00
jpandre c7850ddf82 Fixed condition for accepting a chgrp 2007-10-30 08:52:51 +00:00
jpandre a8dc8655d0 Adjusted to v 1.1030 2007-10-29 16:28:33 +00:00
jpandre d0a84b3ef3 Fixed size returned in security API 2007-10-24 10:02:32 +00:00
jpandre 9551e7eee6 Recognized local users group as meaning world 2007-10-24 07:18:44 +00:00
jpandre b31b4cb124 Returned the securid and size even if short buffer in security API 2007-10-24 06:37:52 +00:00
szaka 5167f7b5dd ntfs_security_hash(): big-endian fix (Erik Larsson) 2007-10-22 18:51:20 +00:00
jpandre c6830ecc23 Fixed a few errno returns 2007-10-22 12:58:06 +00:00
jpandre 4fa21ffe2d Accepted symbolic names for uid and gid in user mapping file 2007-10-21 16:45:06 +00:00
jpandre 8fb2068f41 Recognized the generic creator-owner SID 2007-10-21 16:14:30 +00:00
jpandre 0c15d089ef Implemented cache extension for legacy directories 2007-10-20 12:40:22 +00:00
jpandre 6a96a5cebd Checked volume designated in security API is not mounted 2007-10-20 07:07:03 +00:00
jpandre a597c1c608 Implemented special protection modes : sticky, setuid, setgid 2007-10-19 15:18:55 +00:00
jpandre 3ad5de1d1f Fixed security initialization for old volumes which do not have a $Secure file 2007-10-19 08:09:27 +00:00
jpandre 6886650afc Fixed several endianness errors 2007-10-19 07:16:21 +00:00
jpandre 62407b6b1e Made a double check before creating the first security id 2007-10-18 16:05:33 +00:00
jpandre 86084908e2 Reorganized ACL inheritance to allow inheritance in directories with a

							
						
2007-10-18 14:56:18 +00:00
jpandre 3db8bb1848 Stuffed zeroes into $SDS before writing into a new block, to prevent

							
						
2007-10-17 12:23:02 +00:00
jpandre 764dced1f1 Fixed errno when could not write to $SDS 2007-10-17 12:20:22 +00:00
jpandre 5f914d0492 Padded end of $SDH entries with 0x490049 like Windows (purpose unknown) 2007-10-17 12:17:51 +00:00
jpandre 85c536de3f Fixed unneeded generation of security id after a hash collision

							
						
2007-10-15 15:04:11 +00:00
jpandre f7ae72ca0a Updated a comment 2007-10-12 13:24:58 +00:00
jpandre 86f94559c2 Implemented an option for upgrading gracefully individual security attributes

							
						
2007-10-12 12:56:28 +00:00
jpandre a8a33f0bc3 Reverted back relay for free() and consequences on const ptrs 2007-10-09 13:33:11 +00:00
jpandre 7cc6adba7c Fixed a missing inode closing 2007-10-09 11:59:33 +00:00
jpandre 88772c9912 Cleaned code

							
						
2007-10-09 07:55:28 +00:00
szaka 4206ceddce fix warnings 2007-10-08 22:03:31 +00:00
jpandre b0f972c764 - fixed a memory corruption case in cacheing of security attributes

							
						
2007-10-06 14:46:53 +00:00
jpandre b823389638 Removed outdated debug instructions 2007-09-28 06:56:51 +00:00
jpandre 99b4aba970 *** empty log message *** 2007-09-27 13:29:52 +00:00
szaka c9172f66cf add ntfs_security_hash(): hash of a security descriptor (Anton Altaparmakov) 2007-09-02 12:38:29 +00:00
szaka ba63b7daca initial CVS import 2006-10-30 22:32:48 +00:00