Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-05-26 | Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT | Volker Lendecke | 1 | -2/+2 | |
This patch introduces struct stat_ex { dev_t st_ex_dev; ino_t st_ex_ino; mode_t st_ex_mode; nlink_t st_ex_nlink; uid_t st_ex_uid; gid_t st_ex_gid; dev_t st_ex_rdev; off_t st_ex_size; struct timespec st_ex_atime; struct timespec st_ex_mtime; struct timespec st_ex_ctime; struct timespec st_ex_btime; /* birthtime */ blksize_t st_ex_blksize; blkcnt_t st_ex_blocks; }; typedef struct stat_ex SMB_STRUCT_STAT; It is really large because due to the friendly libc headers playing macro tricks with fields like st_ino, so I renamed them to st_ex_xxx. Why this change? To support birthtime, we already have quite a few #ifdef's at places where it does not really belong. With a stat struct that we control, we can consolidate the nanosecond timestamps and the birthtime deep in the VFS stat calls. At this moment it is triggered by a request to support the birthtime field for GPFS. GPFS does not extend the system level struct stat, but instead has a separate call that gets us the additional information beyond posix. Without being able to do that within the VFS stat calls, that support would have to be scattered around the main smbd code. It will very likely break all the onefs modules, but I think the changes will be reasonably easy to do. | |||||
2009-03-04 | Fix crashes when running RAW-ACLs against system with tdb ACL modules | Jeremy Allison | 1 | -1/+1 | |
(caused by the POSIX pathname fixes). Jeremy. | |||||
2009-02-25 | Use fsp->posix_open in preference if we have it. | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2009-02-25 | Ensure ACL modules work with POSIX paths. | Jeremy Allison | 1 | -2/+10 | |
Jeremy. | |||||
2008-12-31 | Rename parent_dirname_talloc() to parent_dirname() | Volker Lendecke | 1 | -4/+1 | |
2008-12-18 | Comment out the parent inheritance code (this is incorrect) as was | Jeremy Allison | 1 | -0/+2 | |
done for POSIX ACLs. Jeremy. | |||||
2008-11-20 | Fix the build, by some cut-and-paste error I got two versions of the same ↵ | Jeremy Allison | 1 | -50/+0 | |
functions here. Jeremy. | |||||
2008-11-19 | Fix build farm breakage. | Jeremy Allison | 1 | -1/+1 | |
2008-11-19 | Add functions to delete NTACL on posix ACL set. | Jeremy Allison | 1 | -0/+100 | |
Jeremy. | |||||
2008-11-13 | Move v2 from timestamp to 16-byte hash. Got the change in before on disk ↵ | Jeremy Allison | 1 | -20/+10 | |
format is fixed. Jeremy. | |||||
2008-11-10 | Added vfs_acl_tdb.c module to do ACLs completely in userspace. Passes all of ↵ | Jeremy Allison | 1 | -44/+54 | |
RAW-ACLS except for the last test which uses a non-POSIX chown. More testing/documentation to follow. Jeremy. | |||||
2008-11-08 | Fix a subtle logic bug in the adaption of se_create_child_secdesc(), pass ↵ | Jeremy Allison | 1 | -1/+20 | |
RAW-ACL inheritance tests. Only access masks for SD get/set left to fix. Jeremy. | |||||
2008-11-06 | Start factoring out the inheritance differences. | Jeremy Allison | 1 | -2/+1 | |
Jeremy. | |||||
2008-11-06 | Don't call FSET_NT_ACL on file create if there's no SD to set. Leave the ↵ | Jeremy Allison | 1 | -4/+0 | |
default ACL in place. Jeremy. | |||||
2008-11-06 | Only one more issue with NULL ACL test left to solve. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2008-11-06 | Fix crash in module, get more of the NULL acl test right. | Jeremy Allison | 1 | -14/+18 | |
Jeremy. | |||||
2008-11-04 | Pass all of RAW-ACLS except for inheritence. Working on that next. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2008-11-03 | Pass all the non-inherited S4 RAW-ACL tests. | Jeremy Allison | 1 | -0/+4 | |
Jeremy. | |||||
2008-10-31 | Get closer to passing S4 RAW-ACLs. | Jeremy Allison | 1 | -15/+76 | |
Jeremy. | |||||
2008-10-31 | Unify se_access_check with the S4 code. Will make | Jeremy Allison | 1 | -3/+3 | |
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy. | |||||
2008-10-30 | Start moving us closer to passing S4 RAW-ACL test using the vfs_acl_xattr ↵ | Jeremy Allison | 1 | -0/+51 | |
module. Inheritance fails at the moment though. Jeremy. | |||||
2008-10-30 | Inherit Windows ACLs on a new directory. | Jeremy Allison | 1 | -13/+55 | |
Jeremy. | |||||
2008-10-29 | Allow a new file to inherit the Windows ACL from its parent. | Jeremy Allison | 1 | -82/+174 | |
Now to do the same for directories. Jeremy. | |||||
2008-10-08 | Fixed "might be uninitialized" warning | Tim Prouty | 1 | -2/+2 | |
2008-10-08 | Deal with inheritance from parent directory when setting Windows | Jeremy Allison | 1 | -0/+16 | |
ACLs. Jeremy. | |||||
2008-10-07 | Fix const warning. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2008-10-07 | Update vfs version as I've added a const to the security_descriptor paramter ↵ | Jeremy Allison | 1 | -2/+2 | |
in fset_nt_acl(). Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules. Jeremy. | |||||
2008-10-07 | Make map_errno_from_nt_status() a generic call, not just a cli specific one. | Jeremy Allison | 1 | -22/+36 | |
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy. | |||||
2008-09-23 | s3-nbt: fix remaining callers of ndr_push/pull_struct_blob. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2008-09-17 | Correctly get+set the NT ACL on a file. Now to make us check it on open.. | Jeremy Allison | 1 | -3/+12 | |
Jeremy. | |||||
2008-09-17 | Mark module experimental, fix crash bugs. | Jeremy Allison | 1 | -2/+9 | |
Jeremy. | |||||
2008-09-16 | First (incomplete) cut of this module. Based on Volker's original work. | Jeremy Allison | 1 | -0/+315 | |
Jeremy. |