#define SECURITY_SERVER_COOKIE_LEN 20
#define MAX_OBJECT_LABEL_LEN 32
#define MAX_MODE_STR_LEN 16
-#define SECURITY_SERVER_MIDDLEWARE_LIST_PATH "/usr/share/security-server/mw-list"
#define SECURITY_SERVER_MAX_OBJ_NAME 30
-#define SECURITY_SERVER_MAX_PATH_LEN 50
#define SECURITY_SERVER_MSG_VERSION 0x01
#define SECURITY_SERVER_ACCEPT_TIMEOUT_MILISECOND 10000
#define SECURITY_SERVER_SOCKET_TIMEOUT_MILISECOND 3000
#define SECURITY_SERVER_HISTORY_FILE_NAME "history"
#define SECURITY_SERVER_MAX_PASSWORD_LEN 32
#define SECURITY_SERVER_HASHED_PWD_LEN 32 /* SHA256 */
-#define SECURITY_SERVER_PASSWORD_RETRY_TIMEOUT_SECOND 1 /* Deprecated. Will be removed. */
+#define SECURITY_SERVER_PASSWORD_RETRY_TIMEOUT_SECOND 1 /* Deprecated. Will be removed. */
#define SECURITY_SERVER_PASSWORD_RETRY_TIMEOUT_MICROSECOND 500000 /* = 500 milliseconds */
-
#define SECURITY_SERVER_MAX_PASSWORD_HISTORY 50
#define SECURITY_SERVER_NUM_THREADS 10
int path_len; /* Client process cmd line length */
int permission_len; /* Client process permissions (aka group IDs) */
pid_t pid; /* Client process's PID */
- char *path; /* Client process's cmd line string */
+ char *path; /* Client process's executable path */
int *permissions; /* Array of GID that the client process has */
char *smack_label; /* SMACK label of the client process */
char is_roots_process; /* Is cookie belongs to roots process */