Date: Sat, 26 Dec 2020 00:26:46 +0900 From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> To: dev-commits-src-branches@freebsd.org Cc: kib@FreeBSD.org Subject: Re: git: 80a8c57e58ba - MFC r368771: proc.h: Reformat P_ and P2_ definitions. Message-ID: <20201226002646.19cb7a427cc401d7047d1db0@dec.sakura.ne.jp>
next in thread | raw e-mail | index | archive | help
This should be MFC'ed with r368775 not to break build. > The branch stable/12 has been updated by kib: > > URL: https://cgit.FreeBSD.org/src/commit/?id=80a8c57e58ba09416f28e342c9d7757ede50a8f8 > > commit 80a8c57e58ba09416f28e342c9d7757ede50a8f8 > Author: Konstantin Belousov <kib at FreeBSD.org> > AuthorDate: 2020-12-18 23:11:27 +0000 > Commit: Konstantin Belousov <kib at FreeBSD.org> > CommitDate: 2020-12-25 13:28:57 +0000 > > MFC r368771: > proc.h: Reformat P_ and P2_ definitions. > > (cherry picked from commit c5354d593df9a5b97b6c4b1d9999915d93c8e103) > --- > sys/sys/proc.h | 105 ++++++++++++++++++++++++++++++++++----------------------- > 1 file changed, 62 insertions(+), 43 deletions(-) > > diff --git a/sys/sys/proc.h b/sys/sys/proc.h > index 10cf8b8bce4b..2c3227be7460 100644 > --- a/sys/sys/proc.h > +++ b/sys/sys/proc.h > @@ -719,55 +719,74 @@ struct proc { > #define PROC_PROFLOCK_ASSERT(p, type) mtx_assert(&(p)->p_profmtx, (type)) > > /* These flags are kept in p_flag. */ > -#define P_ADVLOCK 0x00001 /* Process may hold a POSIX advisory lock. */ > -#define P_CONTROLT 0x00002 /* Has a controlling terminal. */ > -#define P_KPROC 0x00004 /* Kernel process. */ (snip) > + MAP_STACK */ > +#define P2_STKGAP_DISABLE_EXEC 0x00001000 /* Stack gap disabled > + after exec */ > > /* Flags protected by proctree_lock, kept in p_treeflags. */ > #define P_TREE_ORPHANED 0x00000001 /* Reparented, on orphan list */ -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201226002646.19cb7a427cc401d7047d1db0>