From f8016bd2047d59c69a61db09f408811f9bb88920 Mon Sep 17 00:00:00 2001 From: rob Date: Thu, 4 Feb 2021 02:03:53 +0000 Subject: [PATCH] Remove last remnants of ASU ac_flag from accounting. OK deraadt@, bluhm@ --- share/man/man5/acct.5 | 8 ++------ sys/sys/acct.h | 3 +-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/share/man/man5/acct.5 b/share/man/man5/acct.5 index 340a14e6e4e..cbadbc43651 100644 --- a/share/man/man5/acct.5 +++ b/share/man/man5/acct.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: acct.5,v 1.23 2021/01/30 16:48:31 rob Exp $ +.\" $OpenBSD: acct.5,v 1.24 2021/02/04 02:03:53 rob Exp $ .\" $NetBSD: acct.5,v 1.4 1995/10/22 01:40:10 ghudson Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)acct.5 8.1 (Berkeley) 6/5/93 .\" -.Dd $Mdocdate: January 30 2021 $ +.Dd $Mdocdate: February 4 2021 $ .Dt ACCT 5 .Os .Sh NAME @@ -69,7 +69,6 @@ struct acct { dev_t ac_tty; /* controlling tty */ #define AFORK 0x01 /* fork'd but not exec'd */ -#define ASU 0x02 /* used super-user permissions */ #define AMAP 0x04 /* system call or stack mapping violation */ #define ACORE 0x08 /* dumped core */ #define AXSIG 0x10 /* killed by a signal */ @@ -104,9 +103,6 @@ A new process was created via .Xr fork 2 that was not followed by a call to .Xr execve 2 . -.It Dv ASU -The process used super-user permissions. -This flag is never set and is provided for source compatibility only. .It Dv AMAP The process terminated abnormally due to a system call or stack mapping violation. diff --git a/sys/sys/acct.h b/sys/sys/acct.h index db7c8463758..2bf59d06ba1 100644 --- a/sys/sys/acct.h +++ b/sys/sys/acct.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acct.h,v 1.9 2019/09/09 20:02:26 bluhm Exp $ */ +/* $OpenBSD: acct.h,v 1.10 2021/02/04 02:03:53 rob Exp $ */ /* $NetBSD: acct.h,v 1.16 1995/03/26 20:23:52 jtc Exp $ */ /*- @@ -57,7 +57,6 @@ struct acct { dev_t ac_tty; /* controlling tty */ #define AFORK 0x01 /* fork'd but not exec'd */ -#define ASU 0x02 /* used super-user permissions */ #define AMAP 0x04 /* system call or stack mapping violation */ #define ACORE 0x08 /* dumped core */ #define AXSIG 0x10 /* killed by a signal */ -- 2.20.1