diff options
Diffstat (limited to 'util/lock/locks.h')
-rw-r--r-- | util/lock/locks.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/util/lock/locks.h b/util/lock/locks.h index 74360883fd..e87c36d73b 100644 --- a/util/lock/locks.h +++ b/util/lock/locks.h @@ -31,17 +31,8 @@ #ifndef __UTIL_LOCKS_H #define __UTIL_LOCKS_H -/* this is the base key, since we have to pick something global */ -#define IPC_LOCK_KEY (0x67736c00 & 0xfffffc00) /* 22 bits "gsl" */ - -/* The ordering of the following keys matters a lot. We don't want to reorder - * keys and have a new binary dependent on deployed/used because it will break - * atomicity of existing users and binaries. In other words, DO NOT REORDER. */ - -/* this is the "big lock". */ -#define BIGLOCK (IPC_LOCK_KEY + 0) - -/* for Google EC */ -#define GECLOCK (IPC_LOCK_KEY + 1) +#define SYSTEM_LOCKFILE_DIR "/var/run/lock" +#define LOCKFILE_NAME "firmware_utility_lock" +#define CROS_EC_LOCKFILE_NAME "cros_ec_lock" #endif /* __UTIL_LOCKS_H */ |