pstat.c (37a9f58275d8c4180eb96791fc7cbad3cf4955f5) | pstat.c (c3328b2ab87a66753fdb4651e98e26f735f70093) |
---|---|
1/*- 2 * Copyright (c) 1980, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2002 Networks Associates Technologies, Inc. 5 * All rights reserved. 6 * 7 * Portions of this software were developed for the FreeBSD Project by 8 * ThinkSec AS and NAI Labs, the Security Research Division of Network --- 274 unchanged lines hidden (view full) --- 283 ttymode_sysctl(); 284} 285 286static struct { 287 int flag; 288 char val; 289} ttystates[] = { 290#if 0 | 1/*- 2 * Copyright (c) 1980, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2002 Networks Associates Technologies, Inc. 5 * All rights reserved. 6 * 7 * Portions of this software were developed for the FreeBSD Project by 8 * ThinkSec AS and NAI Labs, the Security Research Division of Network --- 274 unchanged lines hidden (view full) --- 283 ttymode_sysctl(); 284} 285 286static struct { 287 int flag; 288 char val; 289} ttystates[] = { 290#if 0 |
291 { TF_NOPREFIX, 'N' }, | 291 { TF_NOPREFIX, 'N' }, |
292#endif | 292#endif |
293 { TF_INITLOCK, 'I' }, 294 { TF_CALLOUT, 'C' }, | 293 { TF_INITLOCK, 'I' }, 294 { TF_CALLOUT, 'C' }, |
295 296 /* Keep these together -> 'Oi' and 'Oo'. */ | 295 296 /* Keep these together -> 'Oi' and 'Oo'. */ |
297 { TF_OPENED, 'O' }, 298 { TF_OPENED_IN, 'i' }, 299 { TF_OPENED_OUT,'o' }, | 297 { TF_OPENED, 'O' }, 298 { TF_OPENED_IN, 'i' }, 299 { TF_OPENED_OUT, 'o' }, 300 { TF_OPENED_CONS, 'c' }, |
300 | 301 |
301 { TF_GONE, 'G' }, 302 { TF_OPENCLOSE, 'B' }, 303 { TF_ASYNC, 'Y' }, 304 { TF_LITERAL, 'L' }, | 302 { TF_GONE, 'G' }, 303 { TF_OPENCLOSE, 'B' }, 304 { TF_ASYNC, 'Y' }, 305 { TF_LITERAL, 'L' }, |
305 306 /* Keep these together -> 'Hi' and 'Ho'. */ | 306 307 /* Keep these together -> 'Hi' and 'Ho'. */ |
307 { TF_HIWAT, 'H' }, 308 { TF_HIWAT_IN, 'i' }, 309 { TF_HIWAT_OUT, 'o' }, | 308 { TF_HIWAT, 'H' }, 309 { TF_HIWAT_IN, 'i' }, 310 { TF_HIWAT_OUT, 'o' }, |
310 | 311 |
311 { TF_STOPPED, 'S' }, 312 { TF_EXCLUDE, 'X' }, 313 { TF_BYPASS, 'l' }, 314 { TF_ZOMBIE, 'Z' }, 315 { TF_HOOK, 's' }, | 312 { TF_STOPPED, 'S' }, 313 { TF_EXCLUDE, 'X' }, 314 { TF_BYPASS, 'l' }, 315 { TF_ZOMBIE, 'Z' }, 316 { TF_HOOK, 's' }, |
316 | 317 |
317 { 0, '\0' }, | 318 { 0, '\0'}, |
318}; 319 320static void 321ttyprt(struct xtty *xt) 322{ 323 int i, j; 324 char *name; 325 --- 253 unchanged lines hidden --- | 319}; 320 321static void 322ttyprt(struct xtty *xt) 323{ 324 int i, j; 325 char *name; 326 --- 253 unchanged lines hidden --- |