Commit Graph

166 Commits (39384c8a1b2b6f4357f37d1371b3253483791a0e)

Author SHA1 Message Date
jpandre d898b64a04 Changed interface for translating permissions to avoid a version dependency 2009-04-10 07:10:04 +00:00
jpandre 2fbaecd759 Extended transparent compression support to sequential writing to compressed files 2009-04-03 13:33:24 +00:00
jpandre a13ee0c82c Fed the free spaces in context for calls from security API 2009-03-27 08:36:07 +00:00
jpandre aa54558345 Fixed wrong size (quota_charged, usn) 2009-03-23 16:09:24 +00:00
jpandre cc96d22ed6 Fixed an endianness declaration 2009-03-11 16:18:18 +00:00
jpandre 19dda5be83 Allowed setting/clearing compression flag for a directory 2009-03-02 20:20:24 +00:00
jpandre 9b996d31b9 Relocated code for setting/retrieving NTFS attribs 2009-01-17 08:37:17 +00:00
jpandre 0feae8177a Fixed the return value of ntfs_set_file_attributes() 2009-01-06 11:25:55 +00:00
jpandre ca6466c6bb Mapped a few NTFS internal data to extended attributes 2009-01-05 13:56:05 +00:00
jpandre f0fbd111e0 Fixed a memory leak in the security API (impacted tools) 2008-12-24 15:09:44 +00:00
jpandre 26681fe0fe Fixed copy of special flags in the security API (for tools) 2008-12-24 15:04:31 +00:00
jpandre c4c3c8f90f Fixed inclusion of two functions whatever ACL option selected 2008-12-01 15:07:49 +00:00
jpandre 939a4a20b7 Relocated the setting of the Windows read-only flag 2008-09-09 15:40:57 +00:00
jpandre 0634272756 Fixed return value for Posix ACL removal 2008-09-09 15:36:55 +00:00
jpandre 703d1c37dc Fixed bugs in Posix ACL cacheing 2008-09-06 14:45:35 +00:00
jpandre d13ffc55f8 Fixed cacheing legacy directories (NTFS 1.x) for Posix ACLs 2008-09-05 13:59:23 +00:00
jpandre 9525c5c310 Fixed a memory leak in Posix ACL inheritance 2008-09-03 14:40:12 +00:00
jpandre cb59654f39 Implemented an extended attribute interface to get/set NTFS ACLs 2008-09-01 16:24:54 +00:00
jpandre 08537782ce Reset errno to previous value when it does not mean an error 2008-08-30 10:55:33 +00:00
jpandre 6bfd3ed546 Fixed a stupid name prefixing 2008-08-30 10:31:40 +00:00
jpandre 25179bfe83 Enabled full endianness type checks 2008-08-27 08:21:36 +00:00
jpandre f4bd4e5b52 Added a few casts for easier type checks 2008-08-21 11:05:16 +00:00
jpandre 62780e137b Cleaned and fixed endianness conversions 2008-08-21 11:02:35 +00:00
jpandre 3b44e8890a Made use of fuse checks when "default_permissions" option is used 2008-08-21 10:55:18 +00:00
jpandre 7f42da0b07 Reorganized and split the security source file, a few interfaces changed 2008-08-21 10:27:46 +00:00
jpandre 6a47056d18 Merged the Posix ACL code, now it is a compile-time option 2008-08-21 10:08:20 +00:00
jpandre 4a94021038 Fixed possible overflows in reading the user mapping file 2008-08-16 12:50:11 +00:00
jpandre a2dab6b2ff Fixed possible overflows in reading the user mapping file 2008-08-03 07:20:58 +00:00
jpandre 219491bf27 Added entries in security API to process user mappings and Win32 attribs 2008-08-03 07:19:20 +00:00
jpandre d30bd79b02 Fixed changing mode for files created by standard ntfs-3g 2008-06-16 16:21:43 +00:00
jpandre 767b4d075c Fixed deletions from a sticky directory (on kernels >= 2.6.25) 2008-06-02 10:56:23 +00:00
jpandre 5d5615433f Work around access to files created by Windows in a directory created by Linux
as root
2008-04-21 14:09:32 +00:00
jpandre 7d3bff9b99 Code relocations, variable renamings or comment adjustments to
reduce differences to Posix ACL variant
2008-04-21 14:06:25 +00:00
jpandre 317c060cf6 Prevented Windows from inheriting execution right to plain files 2008-04-20 16:16:10 +00:00
jpandre 3df7110f69 Fixed computation of implicit uid/gid 2008-04-20 09:45:30 +00:00
jpandre 9668345f61 Improved approximation of Windows-type inheritance 2008-04-20 09:25:27 +00:00
jpandre eb519fee8c Relocated a few functions 2008-04-17 16:14:59 +00:00
jpandre 0af78a2c5f Checked an error condition before allowing access 2008-04-17 14:05:22 +00:00
jpandre 5e30e6f204 Extended cacheing to any variable type 2008-04-17 13:26:52 +00:00
jpandre b929b94aaa Fixed trailing '/' circumstances and simplified path normalization 2008-04-17 10:26:15 +00:00
jpandre b8a6013531 Fixed an error return case in chown/chmod 2008-04-14 15:52:07 +00:00
jpandre c2591fcd10 Fixed group ACE grants 2008-04-11 09:23:38 +00:00
jpandre 04c5867c8a Removed an unneeded group ACE 2008-04-09 20:21:49 +00:00
jpandre 0377cd7107 Improved consistency of ownership for chmod 2008-04-08 10:22:13 +00:00
jpandre 6b8648409c Improved denials to group 2008-04-08 10:15:26 +00:00
jpandre e5fcb9e844 Fixed a bug in security API 2008-03-23 08:41:18 +00:00
jpandre d766714986 Fixed processing of security options 2008-03-14 09:13:30 +00:00
jpandre 5258a873f1 Improved processing of group membership 2008-03-13 18:36:06 +00:00
jpandre cc9d5c0b57 Fixed write checks for directories 2008-03-13 14:09:16 +00:00
jpandre be365af93b Made implicit user mapping more general and improved checks 2008-03-12 16:15:52 +00:00
jpandre 1f1ebf2548 Fixed consistency checks in security API 2008-03-12 16:05:39 +00:00
jpandre 3fb950c590 Implemented dynamic groups and a generic user mapping 2008-03-11 15:36:40 +00:00
jpandre 97a85f91f9 Fixed an endianness error 2008-03-11 10:42:45 +00:00
jpandre beb5e6ae48 Changed representation of special mode bits in ACEs and put them in
canonical order
2008-03-10 11:28:59 +00:00
jpandre 8cc3d7d7b2 Improved consistency checks related to $Secure 2008-03-06 11:26:23 +00:00
jpandre 72e221d828 Fixed getting the group of files 2008-03-05 18:34:58 +00:00
jpandre d7741bccc6 Moved user mapping file to hidden directory .NTFS-3G 2008-01-16 20:07:56 +00:00
jpandre 31d414ca1d Implemented an option to designate a user mapping file 2008-01-15 17:41:46 +00:00
jpandre 038156ba82 Reengineered LRU caches, made generic, and applied to finding inode numbers 2008-01-10 17:32:55 +00:00
jpandre 076358d6fd Redefined ownership of files 2007-12-14 17:02:39 +00:00
jpandre 78bd8350ca Fixed a bug when getting permissions for the first time 2007-12-13 17:27:32 +00:00
jpandre 59a21e6110 Reengineered permissions cache 2007-12-13 09:14:51 +00:00
jpandre 7335c9af68 Fixed inserting users into groups 2007-12-09 08:33:54 +00:00
jpandre ecc7c2099f Fixed checking for unchanged owner in chgrp 2007-12-09 08:32:19 +00:00
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