Lines Matching refs:lock_file
1799 const char *lock_name, const char *lock_file) in semanage_get_lock() argument
1805 if ((fd = open(lock_file, O_RDONLY)) == -1) { in semanage_get_lock()
1807 open(lock_file, O_RDWR | O_CREAT | O_TRUNC, in semanage_get_lock()
1810 lock_file); in semanage_get_lock()
1816 lock_file); in semanage_get_lock()
1836 lock_file); in semanage_get_lock()
1847 lock_name, lock_file); in semanage_get_lock()
1855 ERR(sh, "Could not get direct %s at %s.", lock_name, lock_file); in semanage_get_lock()
1870 const char *lock_file = semanage_files[SEMANAGE_TRANS_LOCK]; in semanage_get_trans_lock() local
1876 semanage_get_lock(sh, "transaction lock", lock_file); in semanage_get_trans_lock()
1893 const char *lock_file = semanage_files[SEMANAGE_READ_LOCK]; in semanage_get_active_lock() local
1899 semanage_get_lock(sh, "read lock", lock_file); in semanage_get_active_lock()