• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/xnu-2422.115.4/bsd/kern/

Lines Matching defs:pt

1847 	proc_t pt;
1877 pt = proc_find(pid);
1878 if (pt == PROC_NULL)
1881 upid = pt->p_pid;
1882 uidversion = pt->p_idversion;
1900 proc_lock(pt);
1901 retflags = pt->p_csflags;
1902 if (cs_enforcement(pt))
1904 proc_unlock(pt);
1911 proc_lock(pt);
1912 if ((pt->p_csflags & CS_VALID) == CS_VALID) { /* is currently valid */
1913 pt->p_csflags &= ~CS_VALID; /* set invalid */
1914 if ((pt->p_csflags & CS_KILL) == CS_KILL) {
1915 pt->p_csflags |= CS_KILLED;
1916 proc_unlock(pt);
1920 proc_selfpid(), pt->p_pid, pt->p_comm, pt->p_csflags);
1922 psignal(pt, SIGKILL);
1924 proc_unlock(pt);
1926 proc_unlock(pt);
1931 proc_lock(pt);
1932 pt->p_csflags |= CS_HARD;
1933 if ((pt->p_csflags & CS_VALID) == 0) {
1935 proc_unlock(pt);
1939 proc_unlock(pt);
1943 proc_lock(pt);
1944 pt->p_csflags |= CS_KILL;
1945 if ((pt->p_csflags & CS_VALID) == 0) {
1946 proc_unlock(pt);
1947 psignal(pt, SIGKILL);
1949 proc_unlock(pt);
1953 toff = pt->p_textoff;
1954 proc_rele(pt);
1960 /* pt already holds a reference on its p_textvp */
1961 tvp = pt->p_textvp;
1962 toff = pt->p_textoff;
1965 proc_rele(pt);
1970 proc_rele(pt);
1982 proc_lock(pt);
1984 if ((pt->p_csflags & CS_VALID) == 0) {
1985 proc_unlock(pt);
1990 error = cs_entitlements_blob_get(pt, &start, &length);
1991 proc_unlock(pt);
1999 proc_lock(pt);
2000 pt->p_csflags |= CS_RESTRICT;
2001 proc_unlock(pt);
2023 proc_lock(pt);
2024 if (pt->p_csflags & CS_VALID)
2025 pt->p_csflags |= flags;
2028 proc_unlock(pt);
2036 proc_lock(pt);
2037 if ((pt->p_csflags & CS_VALID) == 0) {
2038 proc_unlock(pt);
2043 error = cs_blob_get(pt, &start, &length);
2044 proc_unlock(pt);
2068 proc_lock(pt);
2069 if ((pt->p_csflags & CS_VALID) == 0) {
2070 proc_unlock(pt);
2075 identity = cs_identity_get(pt);
2076 proc_unlock(pt);
2111 proc_rele(pt);