1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-19 04:23:48 +03:00

r10656: BIG merge from trunk. Features not copied over

* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d7)
This commit is contained in:
Gerald Carter
2005-09-30 17:13:37 +00:00
committed by Gerald (Jerry) Carter
parent 4a2cc231d2
commit 54abd2aa66
261 changed files with 20729 additions and 15930 deletions

View File

@@ -121,11 +121,11 @@ void stop_winbindd(void)
}
#endif
/* kill a specified process */
void kill_pid(pid_t pid)
void kill_pid(struct process_id pid)
{
if (geteuid() != 0) return;
if (pid <= 0) return;
if (procid_to_pid(&pid) <= 0) return;
kill(pid, SIGTERM);
kill(procid_to_pid(&pid), SIGTERM);
}