Subject: sysctl constants (was Re: sysctl knob to let sugid processes dump
To: None <elad@NetBSD.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 01/14/2006 17:37:03
[ added Cc: atatat, removed Cc: tech-security ]

> @@ -902,15 +902,18 @@ struct kinfo_file {
>   * CTL_SECURITY definitions.
>   */
>  #define	SECURITY_CURTAIN	1
> -#define	SECURITY_MAXID		2
> +#define	SECURITY_SUGIDCOREDUMP	2
> +#define	SECURITY_MAXID		3
>  
>  #define	CTL_SECURITY_NAMES { \
>  	{ 0, 0 }, \
>  	{ "curtain", CTLTYPE_INT }, \
> +	{ "sugid_coredump", CTLTYPE_INT }, \
>  }

is it still desirable to assign these constants these days?
or are they superseded by CTL_CREATE?

YAMAMOTO Takashi