Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-08-24 | s3:lib: remove unused processes_exist() | Stefan Metzmacher | 1 | -70/+0 | |
metze | |||||
2012-08-24 | s3:lib: implement process_exists() as wrapper of serverid_exists() | Stefan Metzmacher | 1 | -14/+2 | |
The changes the behavior of process_exists() it checks the pid.unique_id now, if it's not SERVERID_UNIQUE_ID_NOT_TO_VERIFY. metze | |||||
2012-08-17 | s3:lib: implement interpret_pid() as wrapper of server_id_from_string() | Stefan Metzmacher | 1 | -30/+1 | |
metze | |||||
2012-08-09 | Correctly check for errors in strlower_m() returns. | Jeremy Allison | 1 | -2/+8 | |
2012-07-18 | loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. | Rusty Russell | 1 | -2/+2 | |
They use talloc_tos() internally: hoist that up to the callers, some of whom don't want to us talloc_tos(). A simple patch, but hits a lot of files. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2012-07-09 | Make check_same_stat() and check_same_dev_ino() common functions. | Jeremy Allison | 1 | -0/+29 | |
2012-07-03 | Move copy_unix_token() from locking/locking.c to lib/util.c. | Jeremy Allison | 1 | -0/+30 | |
Make public. | |||||
2012-06-21 | s3:move serverid_equal() to serverid.c | Michael Adam | 1 | -21/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-21 | s3:util: rename procid_equal() to serverid_equal() | Michael Adam | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-21 | s3:util: remove (now) unused cluster_id_equal() | Michael Adam | 1 | -6/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-21 | s3:util: reformat procid_equal() to adhere to coding guidelines | Michael Adam | 1 | -7/+14 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-21 | s3:util: also compare the unique_id in procid_equal(). | Michael Adam | 1 | -0/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-05-14 | lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.c | Stefan Metzmacher | 1 | -11/+0 | |
metze | |||||
2012-05-14 | s3:lib/util: use map_nt_error_from_unix_common() in tevent_req_poll_ntstatus() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-04-30 | s3-lib Add a way to allocate the task_id value in server_id | Andrew Bartlett | 1 | -0/+42 | |
This safely allocates the task_id so that when we have multiple event contexts, they can each have their own messaging context, particularly for the imessaging subsystem under source4. Andrew Bartlett | |||||
2012-04-06 | build: Remove SMB_OFF_T, replace with off_t | Andrew Bartlett | 1 | -3/+3 | |
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104 | |||||
2012-04-05 | build: Remove SMB_F* locking defines | Andrew Bartlett | 1 | -1/+1 | |
2012-04-05 | build: Remove SMB_STRUCT_FLOCK define | Andrew Bartlett | 1 | -1/+1 | |
2012-04-05 | build: Remove SMB_STRUCT_DIR define | Andrew Bartlett | 1 | -1/+1 | |
2012-04-05 | build: Remove SMB_STRUCT_DIRENT define | Andrew Bartlett | 1 | -2/+2 | |
2012-04-05 | build: Remove sys_readdir wrapper | Andrew Bartlett | 1 | -1/+1 | |
2012-04-05 | build: Remove sys_lseek wrapper | Andrew Bartlett | 1 | -1/+1 | |
2012-04-03 | s3-smbd: Inline init_modules() into only caller | Andrew Bartlett | 1 | -9/+0 | |
2012-03-24 | lib/util: Remove obsolete sys_getpid() and sys_fork(). | Jelmer Vernooij | 1 | -4/+4 | |
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104 | |||||
2012-03-24 | lib/util: Remove dummy wrapper for getgrnam(). | Jelmer Vernooij | 1 | -1/+1 | |
2012-03-15 | Make reinit_after_fork_pipe_handler code with reads being interrupted by a ↵ | Jeremy Allison | 1 | -1/+1 | |
signal. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 15 23:29:47 CET 2012 on sn-devel-104 | |||||
2012-03-15 | s3:smbd: let smbd/nmbd/winbindd child processes terminate if the parent ↵ | Michael Adam | 1 | -0/+56 | |
process died. This applies to all child processes making use of reinit_after_fork(). It is implemented by establishing a pipe between parent and child. The child watches for EOF on the read end of the pipe, indidcating an exited parent. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-02-10 | s3-lib: Remove unused is_myworkgroup() | Andrew Bartlett | 1 | -17/+0 | |
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett | |||||
2012-02-10 | s3-lib: Remove unused pid_path() | Andrew Bartlett | 1 | -13/+0 | |
piddir.c calls lp_piddir() directly. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett | |||||
2012-02-07 | Remove unused get_file_size() function. | Jeremy Allison | 1 | -13/+0 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 7 20:56:28 CET 2012 on sn-devel-104 | |||||
2011-12-12 | s3: Remove a bunch of calls to procid_self() | Volker Lendecke | 1 | -2/+1 | |
All callers to messaging_[re]init only used procid_self() | |||||
2011-10-27 | s3: Add processes_exist | Volker Lendecke | 1 | -0/+66 | |
2011-10-26 | s3:include: implement trans_oob() as wrapper to smb_buffer_oob() | Stefan Metzmacher | 1 | -19/+0 | |
metze | |||||
2011-10-21 | s3:include: make smb_setlen() a macro | Stefan Metzmacher | 1 | -14/+0 | |
metze | |||||
2011-10-19 | s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static there | Stefan Metzmacher | 1 | -13/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104 | |||||
2011-10-06 | lib/util: consolidate module loading into common code | Andrew Bartlett | 1 | -0/+9 | |
This creates a samba-modules private libary that handles the details. Andrew Bartlett | |||||
2011-10-04 | s3:lib/util: make sure panic action can attach a debugger on ubuntu (>=10.10) | Stefan Metzmacher | 1 | -0/+11 | |
By default user processes can't attach a debugger to a process. So explicitly allow that for all child processes, before calling the panic action script. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 4 12:51:35 CEST 2011 on sn-devel-104 | |||||
2011-07-29 | s3: Make map_open_params_to_ntcreate() available in lib/ | Volker Lendecke | 1 | -0/+148 | |
2011-07-29 | s3: Make is_executable() available in lib/ | Volker Lendecke | 1 | -0/+17 | |
2011-06-20 | tdb_compat: Higher level API fixes. | Rusty Russell | 1 | -1/+1 | |
My previous patches fixed up all direct TDB callers, but there are a few utility functions and the db_context functions which are still using the old -1 / 0 return codes. It's clearer to fix up all the callers of these too, so everywhere is consistent: non-zero means an error. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-06-20 | source3/lib/util.c: str_checksum to use Jenkins hash from CCAN. | Rusty Russell | 1 | -2/+4 | |
Rather than tdb's internal one. | |||||
2011-06-09 | s3:lib/util: use %llu consitently (instead of %d) in interpret_pid() to ↵ | Stefan Metzmacher | 1 | -1/+1 | |
parse the pid metze | |||||
2011-06-09 | s3-lib Add myhostname_upper() | Andrew Bartlett | 1 | -0/+16 | |
This varient always upper cases the hostname, which is needed for the netbios name. Andrew Bartlett | |||||
2011-06-09 | server_id: Change format to vnn:pid.task_id, pid.task_id or pid | Andrew Bartlett | 1 | -4/+14 | |
This helps ensure the string cannot be ambiguous, while also ensuring that it remains simple in the non-cluster case. The asymmetry of reading get_my_vnn() but writing based on NONCLUSTER_VNN is acceptable because in the non-clustered case, they are equal, and in the clustered case we will print the full string. Andrew Bartlett | |||||
2011-06-09 | lib/util Bring procid_str() into lib/util as server_id_string() | Andrew Bartlett | 1 | -17/+1 | |
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett | |||||
2011-06-09 | s3-lib Read and write the full struct server_id (except the unique_id) | Andrew Bartlett | 1 | -19/+18 | |
This is in preperation for making this code the common, only reader and writer of this structure. Andrew Bartlett | |||||
2011-06-09 | s3-server_id Add task_id to server_id to match Samba4 | Andrew Bartlett | 1 | -0/+5 | |
This will allow this structure to be shared, and allow us to create a common messaging system between all Samba processes. Samba4 uses the task_id to indicate the different tasks within a single unix process. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-06-09 | s3-talloc Change TALLOC_MEMDUP() to talloc_memdup() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_MEMDUP isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett | |||||
2011-06-09 | s3-talloc Remove unused TALLOC zeronull functions and macro definitions | Andrew Bartlett | 1 | -105/+0 | |
These have been under #if 0 for a long time now. Andrew Bartlett |