It's all "native".
Index: bin/ps/extern.h
===================================================================
RCS file: /cvs/src/bin/ps/extern.h,v
retrieving revision 1.19
diff -u -p -r1.19 extern.h
--- bin/ps/extern.h 10 Jan 2016 14:04:16 -0000 1.19
+++ bin/ps/extern.h 26 Mar 2016 07:37:47 -0000
@@ -47,7 +47,6 @@ __BEGIN_DECLS
void command(const struct kinfo_proc *, VARENT *);
void cputime(const struct kinfo_proc *, VARENT *);
int donlist(void);
-void emulname(const struct kinfo_proc *, VARENT *);
double getpcpu(const struct kinfo_proc *);
double getpmem(const struct kinfo_proc *);
void gname(const struct kinfo_proc *, VARENT *);
Index: bin/ps/keyword.c
===================================================================
RCS file: /cvs/src/bin/ps/keyword.c,v
retrieving revision 1.43
diff -u -p -r1.43 keyword.c
--- bin/ps/keyword.c 30 Dec 2015 14:59:10 -0000 1.43
+++ bin/ps/keyword.c 26 Mar 2016 07:37:47 -0000
@@ -100,7 +100,6 @@ VAR var[] = {
{"cputime", "", "time"},
{"cwd", "CWD", NULL, LJUST, curwd, CWDLEN},
{"dsiz", "DSIZ", NULL, 0, dsize, 4},
- {"emul", "EMUL", NULL, LJUST, emulname, KI_EMULNAMELEN - 1},
{"etime", "ELAPSED", "start"},
{"f", "F", NULL, 0, pvar, 7, 0, POFF(p_flag), INT32, "x"},
{"flags", "", "f"},
Index: bin/ps/print.c
===================================================================
RCS file: /cvs/src/bin/ps/print.c,v
retrieving revision 1.66
diff -u -p -r1.66 print.c
--- bin/ps/print.c 10 Jan 2016 14:04:16 -0000 1.66
+++ bin/ps/print.c 26 Mar 2016 07:37:47 -0000
@@ -672,13 +672,3 @@ pvar(const struct kinfo_proc *kp, VARENT
else
printval((char *)kp + v->off, v);
}
-
-void
-emulname(const struct kinfo_proc *kp, VARENT *ve)
-{
- VAR *v;
-
- v = ve->var;
-
- (void)printf("%-*s", (int)v->width, kp->p_emul);
-}
Index: bin/ps/ps.1
===================================================================
RCS file: /cvs/src/bin/ps/ps.1,v
retrieving revision 1.104
diff -u -p -r1.104 ps.1
--- bin/ps/ps.1 17 Mar 2016 07:18:33 -0000 1.104
+++ bin/ps/ps.1 26 Mar 2016 07:37:47 -0000
@@ -209,8 +209,6 @@ CPU ID (zero on single processor systems
Current working directory.
.It Cm dsiz
Data size, in Kilobytes.
-.It Cm emul
-Name of system call emulation environment.
.It Cm flags
Alias:
.Cm f .
--
Michal Mazurek