Lines Matching refs:lock_file
1845 const char *lock_name, const char *lock_file) in semanage_get_lock() argument
1851 if ((fd = open(lock_file, O_RDONLY)) == -1) { in semanage_get_lock()
1853 open(lock_file, O_RDWR | O_CREAT | O_TRUNC, in semanage_get_lock()
1856 lock_file); in semanage_get_lock()
1862 lock_file); in semanage_get_lock()
1882 lock_file); in semanage_get_lock()
1893 lock_name, lock_file); in semanage_get_lock()
1901 ERR(sh, "Could not get direct %s at %s.", lock_name, lock_file); in semanage_get_lock()
1916 const char *lock_file = semanage_files[SEMANAGE_TRANS_LOCK]; in semanage_get_trans_lock() local
1922 semanage_get_lock(sh, "transaction lock", lock_file); in semanage_get_trans_lock()
1939 const char *lock_file = semanage_files[SEMANAGE_READ_LOCK]; in semanage_get_active_lock() local
1945 semanage_get_lock(sh, "read lock", lock_file); in semanage_get_active_lock()