1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4
Rusty Russell 0204ae6229 lib/util/time.c: timeval_current_ofs_usec
Several places want "microseconds from current time", and several were
simply handing "usecs" values which could be over a million.

Using a helper to do this is safer and more readable.

I didn't replace any obviously correct callers (ie. constants).

I also renamed wait_nsec in source3/lib/util_sock.c; it's actually
microseconds not nanoseconds (introduced with this code in Volker's
19b783cc Async wrapper for open_socket_out_send/recv).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-01 10:38:47 +02:00
..
auth s4:auth/ntlmssp/ntlmssp_server.c - add "const" in front of "dnsdomain" 2011-05-21 16:21:12 +02:00
build/pasn1 s4: Remove the old perl/m4/make/mk-based build system. 2010-10-31 02:01:44 +00:00
cldap_server s4-interfaces Rename interfaces code so not to conflict with source3/ 2011-05-08 12:57:04 +02:00
client lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbol 2011-05-06 07:51:24 +02:00
cluster lib/util Move source3 tdb_wrap_open() into the common code. 2011-05-06 07:51:24 +02:00
dns_server s4-interfaces Rename interfaces code so not to conflict with source3/ 2011-05-08 12:57:04 +02:00
dsdb s4:samldb LDB module - check if the RODC group exists if creating an RODC 2011-05-25 10:26:37 +02:00
dynconfig dynconfig: Have only one dynconfig.o in the common code. 2011-04-27 22:22:26 +10:00
echo_server s4-interfaces Rename interfaces code so not to conflict with source3/ 2011-05-08 12:57:04 +02:00
heimdal heimdal: Remove getprogname and setprogname from the heimdal import 2011-05-31 00:32:07 +02:00
heimdal_build heimdal_build: Don't use heimdal's getprogname() and setprogname() 2011-05-31 00:32:07 +02:00
include lib/util: new merged debug system 2011-03-01 04:32:12 +01:00
kdc s4:kdc: split s4u2self and s4u2proxy checks 2011-05-18 07:46:44 +02:00
ldap_server s4-interfaces Rename interfaces code so not to conflict with source3/ 2011-05-08 12:57:04 +02:00
lib lib/util/time.c: timeval_current_ofs_usec 2011-06-01 10:38:47 +02:00
libcli lib/util/time.c: timeval_current_ofs_usec 2011-06-01 10:38:47 +02:00
libnet s4-libnet: Remove libnet_Join and create libnet_Join_member 2011-05-18 16:12:08 +02:00
librpc build: Remove --disable-s3build so we can rely on these subsystems 2011-05-09 12:25:33 +02:00
nbt_server s4-interfaces Rename interfaces code so not to conflict with source3/ 2011-05-08 12:57:04 +02:00
ntp_signd source4/: Fix prototypes for all functions in various subsystems. 2011-03-19 03:20:05 +01:00
ntptr source4/: Fix prototypes for all functions in various subsystems. 2011-03-19 03:20:05 +01:00
ntvfs lib/util/time.c: timeval_current_ofs_usec 2011-06-01 10:38:47 +02:00
param libcli/util Remove ntstatus_check_dos_mapping 2011-05-31 15:10:20 +10:00
rpc_server s4:lsa RPC server - handle LDB flags as "unsigned" 2011-05-21 16:21:14 +02:00
samba_tool s4:samba-tool: improve help messages for samba-tool password 2011-03-09 12:06:53 +01:00
script Fix release script to cope with moved Samba 4 build tools. 2011-04-24 02:14:17 +02:00
scripting samba-tool: improved error handling in user setexpiry 2011-06-01 17:24:36 +10:00
selftest selftest: Make knowfail/skip files consistent, always use ^prefix 2011-05-25 09:15:18 +10:00
setup s4:samba-tool: Move samba-tool setexpiry to samba-tool user setexpiry <user> 2011-06-01 17:24:36 +10:00
smb_server s4-dfs: Add workaround so that XP really works well 2011-05-18 12:00:05 +02:00
smbd ncalrpc: Force ncalrpc dir to be mode 755 in all users 2011-05-08 19:00:29 +02:00
torture librpc/ndr: add new LIBNDR_FLAG_STR_RAW8 for ndr_pull_string 2011-06-01 00:30:40 +02:00
utils s4-auth Rename auth -> auth4 to avoid conflict with s3 auth 2011-05-08 10:56:26 +02:00
web_server s4-interfaces Rename interfaces code so not to conflict with source3/ 2011-05-08 12:57:04 +02:00
winbind Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1. 2011-05-04 12:12:13 -07:00
wrepl_server s4-interfaces Rename interfaces code so not to conflict with source3/ 2011-05-08 12:57:04 +02:00
.testr.conf testr: Fix configuration to use idfile, in case more than a couple of 2010-09-04 21:13:37 +02:00
.valgrind_suppressions
BUGS
NEWS
TODO s3-auth: Remove docs about obsolete 'update encrypted' option. 2010-08-16 12:48:43 +02:00