Searched defs:lock (Results 1 - 4 of 4) sorted by relevance

/sssd/src/util/
H A Dutil_lock.c35 struct flock lock; local
42 lock.l_type = F_WRLCK;
43 lock.l_whence = SEEK_SET;
44 lock.l_start = start;
45 lock.l_len = len;
46 lock.l_pid = 0;
49 ret = fcntl(fd, F_SETLK, &lock);
54 "Failed to lock file. Retries left: %d\n",
73 "Unable to lock file.\n");
82 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to lock fil
[all...]
/sssd/src/tools/
H A Dsss_sync_ops.h46 int lock; member in struct:ops_ctx
H A Dsss_sync_ops.c202 int lock,
249 if (ret == EOK && lock == DO_LOCK) {
256 if (ret == EOK && lock == DO_UNLOCK) {
304 data->lock,
775 out->lock = DO_UNLOCK;
778 out->lock = DO_LOCK;
780 out->lock = DO_UNLOCK;
196 usermod_build_attrs(TALLOC_CTX *mem_ctx, const char *gecos, const char *home, const char *shell, uid_t uid, gid_t gid, int lock, struct sysdb_attrs **_attrs) argument
/sssd/src/python/
H A Dpysss.c85 int lock; member in struct:__anon20
417 " * ``lock``: Lock or unlock the account\n");
432 unsigned long lock = 0; local
433 const char * const kwlist[] = { "username", "uid", "gid", "lock",
445 &lock,
462 if (lock && lock != DO_LOCK && lock != DO_UNLOCK) {
464 "Unknown value for lock parameter");
492 tctx->octx->lock
[all...]

Completed in 318 milliseconds