Print this page

        

*** 711,720 **** --- 711,731 ---- .It Sy PR_SUSPENDED indicates that the lwp stopped due to internal synchronization of lwps within the process. .Sy pr_what is unused in this case. + .It Sy PR_BRAND + indicates that the lwp stopped for a brand-specific reason. + Interpretation of the value of + .Sy pr_what + depends on which zone brand is in use. + It is not generally expected that an lwp stopped in this state will be + restarted by native + .\" mandoc(1) doesn't like .Xr macros referring to itself, so this is + .\" a bit of a hack. + .Nm Ns Pq 4 + consumers. .El .Pp .Sy pr_cursig names the current signal, that is, the next signal to be delivered to the lwp, if any.
*** 1022,1031 **** --- 1033,1056 ---- are 16-bit binary fractions in the range 0.0 to 1.0 with the binary point to the right of the high-order bit (1.0 == 0x8000). .Sy pr_pctcpu is the summation over all lwps in the process. .Pp + The + .Sy pr_fname + and + .Sy pr_psargs + are writable by the owner of the process. + To write to them, the + .Sy psinfo + file should be open for writing and the desired value for the field should be + written at the file offset that corresponds to the member of structure. + No other entry may be written to; if a write is attempted to an offset that + does not represent one of these two memers, or if the size of the write is not + exactly the size of the member being written, no bytes will be written and + zero will be returned. + .Pp .Sy pr_lwp contains the .Xr ps 1 information for the representative lwp. If the process is a
*** 1176,1185 **** --- 1201,1219 ---- .Sy auxv_t structures (see .In sys/auxv.h ) . The values are those that were passed by the operating system as startup information to the dynamic linker. + .Ss argv + Contains the concatenation of each of the argument strings, including their + .Sy NUL + terminators, in the argument vector + .Pq Va argv + for the process. + If the process has modified either its argument vector, or the contents of + any of the strings referenced by that vector, those changes will be visible + here. .Ss ldt This file exists only on x86-based machines. It is non-empty only if the process has established a local descriptor table .Pq Sy LDT . If non-empty, the file contains the array of currently active
*** 3211,3220 **** --- 3245,3256 ---- process privileges .It Pa /proc/ Ns Em pid Ns Pa /sigact process signal actions .It Pa /proc/ Ns Em pid Ns Pa /auxv process aux vector + .It Pa /proc/ Ns Em pid Ns Pa /argv + process argument vector .It Pa /proc/ Ns Em pid Ns Pa /ldt process .Sy LDT (x86 only) .It Pa /proc/ Ns Em pid Ns Pa /usage