1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3
Ralph Boehme 985c1be5cc smbd: use vfs_stat() in more places
This replaces the code in a bunch of places where we choose between stat() and
lstat() based on req->posix_pathname. The new code inside vfs_stat() is based on
checking the smb_fname flag SMB_FILENAME_POSIX_PATH.

req->posix_pathname is inherited from the global POSIX pathnames state and the
smb_fname flags is also inherited from that indirectly via the UCF flags.

Tl;dr: no change in behaviour. :)

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2020-12-16 09:08:31 +00:00
..
auth auth_sam: use pdb_get_domain_info to look up DNS forest information 2020-11-12 13:49:34 +00:00
build
client clitar: Align integer types 2020-12-04 21:08:38 +00:00
exports
groupdb lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
include smbd: add openat_pathref_fsp() 2020-12-16 09:08:30 +00:00
intl
lib s3/libadouble: use openat_pathref_fsp() in ad_open_rsrc() 2020-12-16 09:08:31 +00:00
libads auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
libgpo/gpext Spelling fixes s/emtpy/empty/ 2019-09-01 22:21:26 +00:00
libnet auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
librpc smbd: Remove "have_share_modes" from "struct share_mode_data" 2020-12-04 22:32:38 +00:00
libsmb libsmb: Remove unused dns_lookup_list_async() 2020-12-11 18:29:32 +00:00
locale pam_winbind/ro.po: fix error from previous patch merge 2020-10-29 20:49:16 +00:00
locking smbd: use fh_[get|set]_private_options() 2020-12-16 09:08:30 +00:00
modules smbd: use vfs_stat() in more places 2020-12-16 09:08:31 +00:00
nmbd daemons: report status to systemd even when running in foreground 2020-10-26 19:58:17 +00:00
param s3: smbd: Quiet log messages from usershares for an unknown share. 2020-12-04 20:54:06 +00:00
passdb lookup_name: allow lookup names prefixed with DNS forest root for FreeIPA DC 2020-11-11 10:59:01 +00:00
printing printing: use openat_pathref_fsp() in driver_unlink_internals() 2020-12-16 09:08:31 +00:00
profile
registry s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
rpc_client auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
rpc_server s3:mdssd: Fix creating binding string for error message 2020-11-26 09:44:42 +00:00
rpcclient auth:creds: Rename CRED_USE_KERBEROS values 2020-11-03 15:25:37 +00:00
script test: test site-aware DC lookup via "net lookup ldap" 2020-12-11 18:29:32 +00:00
selftest s3/torture: add POSIX-STAT test 2020-12-16 09:08:31 +00:00
services
smbd smbd: use vfs_stat() in more places 2020-12-16 09:08:31 +00:00
torture s3/torture: add POSIX-STAT test 2020-12-16 09:08:31 +00:00
utils net: use openat_pathref_fsp() in net_vfs_get_ntacl() 2020-12-16 09:08:31 +00:00
web
winbindd winbind: Align integer types 2020-11-30 22:24:37 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript s3/wscript: only check for F_SETLEASE being available at compile time 2020-12-07 19:02:33 +00:00
wscript_build s3/torture: add POSIX-LS-WILDCARD test 2020-12-16 09:08:31 +00:00
wscript_configure_system_ncurses