HP-UX Reference (11i v3 07/02) - 2 System Calls (vol 5)
m
mpctl(2) mpctl(2)
[EINVAL] request is
MPC_GETNEXTSPU
or MPC_GETNEXTSPU_SYS
and spu identifies the
last processor. Or request is
MPC_GETNEXTLDOM
or MPC_GETNEXTLDOM_SYS
and ldom identifies the last locality domain.
[ESRCH] pid or lwpid identifies a process or LWP that does not exist.
[EACCES] pid or lwpid identifies a process or LWP that is not visible to the calling thread.
[EINVAL] request is to bind a process or an LWP to a processor or locality domain that is not in
the processor set of the specified process or LWP.
[EPERM] request is
MPC_SETPROCESS
, MPC_SETPROCESS_FORCE
,orMPC_SETLDOM ,
spu is not
MPC_SPUNOCHANGE
or MPC_LDOMNOCHANGE
, pid identifies another
process, and the caller does not have the same effective user ID of the target process
or does not have the
PRIV_MPCTL privilege.
[EPERM] request is MPC_SETPROCESS_RR
, MPC_SETPROCESS_FILL
,
MPC_SETPROCESS_PACKED
, MPC_SETPROCESS_LEASTLOAD
,
MPC_SETPROCESS_RR_TREE
, MPC_SETPROCESS_FILL_TREE
,or
MPC_SETPROCESS_NONE
, pid identifies another process, and the caller does not
have the same effective user ID of the target process, or does not have the
PRIV_MPCTL privilege.
SEE ALSO
getprivgrp(1), setprivgrp(1M), fork(2), getprivgrp(2), sysconf(2), pthread_processor_bind_np(3T),
pthread_launch_policy_np(3T), privgrp(4), compartments(5), privileges(5).
HP-UX 11i Version 3: February 2007 − 11 − Hewlett-Packard Company 223