Searched refs:csops (Results 1 - 19 of 19) sorted by relevance

/macosx-10.10/security_systemkeychain-55202/src/
H A Dcs_misc.cpp46 int rcstatus = ::csops(pid, CS_OPS_STATUS, &flags, 0);
71 int rchash = ::csops(pid, CS_OPS_CDHASH, hash, sizeof(hash));
82 int rcent = ::csops(pid, CS_OPS_ENTITLEMENTS_BLOB, &header, sizeof(header)); // size request
93 rcent = ::csops(pid, CS_OPS_ENTITLEMENTS_BLOB, buffer, bufferLen);
122 rc = ::csops(pid, CS_OPS_MARKINVALID, NULL, 0);
124 rc = ::csops(pid, CS_OPS_MARKHARD, NULL, 0);
126 rc = ::csops(pid, CS_OPS_MARKKILL, NULL, 0);
128 rc = ::csops(pid, op, NULL, 0);
/macosx-10.10/Security-57031.1.35/Security/include/security_codesigning/
H A Dcskernel.cpp114 MacOSError::check(::csops(guest->pid(), CS_OPS_CDHASH, kernelHash, sizeof(kernelHash)));
123 csops(guest, CS_OPS_PIDOFFSET, &offset, sizeof(offset));
128 if (::csops(guest->pid(), CS_OPS_CDHASH, kernelHash, sizeof(kernelHash)) == -1)
157 csops(guest, CS_OPS_STATUS, &pFlags);
175 csops(guest, CS_OPS_MARKINVALID);
178 csops(guest, CS_OPS_MARKHARD);
181 csops(guest, CS_OPS_MARKKILL);
203 // Interface to kernel csops() system call.
205 void KernelCode::csops(ProcessCode *proc, unsigned int op, void *addr, size_t length) function in class:Security::CodeSigning::KernelCode
207 if (::csops(pro
[all...]
H A Dcskernel.h79 void csops(ProcessCode *proc, unsigned int op, void *addr = NULL, size_t length = 0);
H A Dpiddiskrep.cpp86 int rcent = ::csops(pid, CS_OPS_BLOB, &header, sizeof(header));
99 UnixError::check(::csops(pid, CS_OPS_BLOB, mBuffer, bufferLen));
H A DSecTask.c199 return csops(task->pid, ops, blob, size);
H A Dsignerutils.cpp237 ::csops(0, CS_EXEC_SET_KILL, NULL, 0); // force code integrity
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/lib/
H A Dcskernel.cpp114 MacOSError::check(::csops(guest->pid(), CS_OPS_CDHASH, kernelHash, sizeof(kernelHash)));
123 csops(guest, CS_OPS_PIDOFFSET, &offset, sizeof(offset));
128 if (::csops(guest->pid(), CS_OPS_CDHASH, kernelHash, sizeof(kernelHash)) == -1)
157 csops(guest, CS_OPS_STATUS, &pFlags);
175 csops(guest, CS_OPS_MARKINVALID);
178 csops(guest, CS_OPS_MARKHARD);
181 csops(guest, CS_OPS_MARKKILL);
203 // Interface to kernel csops() system call.
205 void KernelCode::csops(ProcessCode *proc, unsigned int op, void *addr, size_t length) function in class:Security::CodeSigning::KernelCode
207 if (::csops(pro
[all...]
H A Dcskernel.h79 void csops(ProcessCode *proc, unsigned int op, void *addr = NULL, size_t length = 0);
H A Dpiddiskrep.cpp86 int rcent = ::csops(pid, CS_OPS_BLOB, &header, sizeof(header));
99 UnixError::check(::csops(pid, CS_OPS_BLOB, mBuffer, bufferLen));
H A DSecTask.c199 return csops(task->pid, ops, blob, size);
H A Dsignerutils.cpp237 ::csops(0, CS_EXEC_SET_KILL, NULL, 0); // force code integrity
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-codesign-dynamic/
H A Dmain.c18 if ( csops(0, CS_OPS_SET_STATUS, &flags, sizeof(flags)) != 0 ) {
19 FAIL("dlopen-codesign-dynamic: csops() failed");
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dcodesign.h57 /* csops operations */
182 int csops(pid_t pid, unsigned int ops, void * useraddr, size_t usersize);
/macosx-10.10/Security-57031.1.35/sectask/
H A DSecTask.c152 return csops(task->pid_self, ops, blob, size);
/macosx-10.10/dtrace-147/libproc/
H A Dlibproc.c275 if (csops(pid, CS_OPS_STATUS, &flags, sizeof(flags)) != -1
/macosx-10.10/dyld-353.2.1/src/
H A DImageLoaderMachO.cpp777 if ( csops(0, CS_OPS_STATUS, &flags, sizeof(flags)) != -1 ) {
H A Ddyld.cpp4357 if ( csops(0, CS_OPS_STATUS, &flags, sizeof(flags)) != -1 ) {
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_proc.c1862 csops(__unused proc_t p, struct csops_args *uap, __unused int32_t *retval) function
/macosx-10.10/sudo-73/src/
H A Dconfigure1571 --with-csops add CSOps standard options
1629 --with-csops-insults include CSOps insults
3941 # Check whether --with-csops was given.
3956 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --with-csops: $with_csops" >&5
3957 $as_echo "$as_me: WARNING: Ignoring unknown argument to --with-csops: $with_csops" >&2;}
4969 # Check whether --with-csops-insults was given.
4976 *) as_fn_error $? "\"--with-csops-insults does not take an argument.\"" "$LINENO" 5
5082 test "$with_csops_insults" = "yes" && i="csops ${i}"

Completed in 166 milliseconds