1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3
Matthew DeVore 53a1d034f3 lib/util: Standardize use of st_[acm]time ns
Commit 810397f89a, and possibly others, broke the build for macOS and
other environments which don't have st_[acm]tim fields on 'struct stat'.

Multiple places in the codebase used the config.h values to determine
how to access the nanosecond or microsecond values of the stat
timestamps, so rather than add more, centralize them all into
lib/util/time.c.

Also allow pvfs_fileinfo.c to read nanosecond-granularity timestamps on
platforms where it didn't before, since its #if branches were not
complete.

Signed-off-by: Matthew DeVore <matvore@google.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sat Aug 15 08:51:09 UTC 2020 on sn-devel-184
2020-08-15 08:51:09 +00:00
..
auth s3:auth: fill in info3 domain name in passwd_to_SamInfo3() 2020-05-30 01:17:36 +00:00
build
client smbclient: Use NT_STATUS_NOTIFY_ENUM_DIR instead of STATUS_NOTIFY_ENUM_DIR 2020-06-22 12:07:38 +00:00
exports
groupdb lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
include s3: Parameters. Add 'async dns timeout' parameter. Default to 10. Minimum value 1. 2020-08-07 06:34:37 +00:00
intl lib: Remove "tdb based replacement for gettext" 2019-05-22 05:59:13 +00:00
lib lib/util: Standardize use of st_[acm]time ns 2020-08-15 08:51:09 +00:00
libads Remove depracated "ldap ssl ads" smb.conf option 2020-08-11 10:53:05 +00:00
libgpo/gpext Spelling fixes s/emtpy/empty/ 2019-09-01 22:21:26 +00:00
libnet Add net-ads-join dnshostname=fqdn option 2020-05-29 13:33:28 +00:00
librpc s3:smbd: stop accepting multichannel connections early in exit_server_common() 2020-07-14 14:59:18 +00:00
libsmb lib/util: Standardize use of st_[acm]time ns 2020-08-15 08:51:09 +00:00
locale Spelling fixes s/Mirgate/Migrate/ 2019-09-01 22:21:26 +00:00
locking s3:smbd: avoid dereferencing client->connections 2020-07-08 15:54:40 +00:00
modules lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
nmbd lib: Move a #define ip_equal_v4() to nmbd/nmbd.h 2020-06-15 17:59:39 +00:00
param Remove depracated "ldap ssl ads" smb.conf option 2020-08-11 10:53:05 +00:00
passdb lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
printing smbd: add dirfsp arg to SMB_VFS_CREATE_FILE() 2020-05-21 05:23:31 +00:00
profile s3:profile: Allow profile subsystem to use SHA1 in FIPS mode 2019-07-09 13:31:46 +00:00
registry registry3: Fix a typo 2020-06-10 22:20:46 +00:00
rpc_client s3:rpc_client: reverse rpccli_{is_connected,set_timeout}() and rpccli_bh_{is_connected,set_timeout}() 2020-08-08 09:36:28 +00:00
rpc_server Revert "build: fix the coverage build" 2020-08-07 03:23:44 +00:00
rpcclient lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
script s3: scripts: Selfttest. samba3.blackbox.smbclient_iconv.* 2020-08-04 06:30:25 +00:00
selftest test_vfs_posixacl: Add unit test for Linux POSIX ACL mapping 2020-07-17 17:12:34 +00:00
services
smbd smbd: remove get_current_vuid() 2020-07-29 13:44:47 +00:00
torture lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
utils s3: net: Add new 'net ads dns async <name>' command. 2020-08-07 06:34:36 +00:00
web
winbindd winbind: directly use dcerpc_binding_handle_is_connected() in reset_connection_on_error() SAMR code 2020-08-08 10:59:38 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript s3:wscript: vfs_gpfs needs kernel oplock support 2020-07-07 09:37:37 +00:00
wscript_build Revert "build: fix the coverage build" 2020-08-07 03:23:44 +00:00
wscript_configure_system_ncurses