Home
last modified time | relevance | path

Searched refs:commit_number (Results 1 – 1 of 1) sorted by relevance

/external/selinux/libsemanage/src/
Dsemanage_store.c1609 int commit_number, fd, retval; in semanage_commit_sandbox() local
1621 if ((commit_number = semanage_direct_get_serial(sh)) < 0) { in semanage_commit_sandbox()
1624 commit_number++; in semanage_commit_sandbox()
1626 snprintf(write_buf, sizeof(write_buf), "%d", commit_number); in semanage_commit_sandbox()
1643 retval = commit_number; in semanage_commit_sandbox()
1895 int fd, commit_number; in semanage_direct_get_serial() local
1925 commit_number = -1; in semanage_direct_get_serial()
1926 } else if (sscanf(buf, "%d", &commit_number) != 1) { in semanage_direct_get_serial()
1928 commit_number = 0; in semanage_direct_get_serial()
1929 } else if (commit_number < 0) { in semanage_direct_get_serial()
[all …]