diff options
| author | mishra <none@none> | 2007-10-02 16:47:20 -0700 |
|---|---|---|
| committer | mishra <none@none> | 2007-10-02 16:47:20 -0700 |
| commit | f1fa5dcf799749330b7bd6cdee34de6a17ea3fd4 (patch) | |
| tree | d485e6524258c5af4de4346289e3c86ed73553e3 /usr/src/uts/common/syscall/processor_bind.c | |
| parent | e0e0293ac229cd6d0db5217ec05fe61463aa00e2 (diff) | |
| download | illumos-joyent-f1fa5dcf799749330b7bd6cdee34de6a17ea3fd4.tar.gz | |
6489446 pbind gives wrong message when run on system processes
6608065 bug 6292092 mis-merged fix of bug 6317341
Diffstat (limited to 'usr/src/uts/common/syscall/processor_bind.c')
| -rw-r--r-- | usr/src/uts/common/syscall/processor_bind.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/syscall/processor_bind.c b/usr/src/uts/common/syscall/processor_bind.c index bd416e43e6..129129d7d1 100644 --- a/usr/src/uts/common/syscall/processor_bind.c +++ b/usr/src/uts/common/syscall/processor_bind.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -61,6 +61,7 @@ cpu_bind_process(proc_t *pp, processorid_t bind, processorid_t *obind, /* skip kernel processes */ if (pp->p_flag & SSYS) { *obind = PBIND_NONE; + *error = EPERM; return (0); } |
