Thanks for your direction!
Found what I want!
Appreicate!
On Tue, Jan 1, 2019 at 1:01 AM Valentin Vidic
wrote:
> On Tue, Jan 01, 2019 at 12:48:58AM +0800, Henry C wrote:
> > I just downloaded the source here:
> >
>
On Tue, Jan 01, 2019 at 12:48:58AM +0800, Henry C wrote:
> I just downloaded the source here:
> http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.src.rpm
>
> And to my surprise, I don't even see mce as a kernel parameter based on the
> command you suggested:
> $ grep -r
On Mon, Dec 31, 2018 at 02:27:35PM +0800, Henry C wrote:
> I am looking for a command (or alike) to list all the supported kernel
> parameters based on my current kernel.
>
> If such command doesn't exist, it would still be great to see a complete
> list like this one:
>
Thanks.
I just downloaded the source here:
http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.src.rpm
And to my surprise, I don't even see mce as a kernel parameter based on the
command you suggested:
$ grep -r "early_param" . | grep mce
$
So it seems like "early_param"
more pedantry ... just noticed this snippet in include/linux/stat.h:
...
#include
#define S_IRWXUGO (S_IRWXU|S_IRWXG|S_IRWXO)
#define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
#define S_IRUGO (S_IRUSR|S_IRGRP|S_IROTH)
#define S_IWUGO
On Mon, 31 Dec 2018 14:53:30 -0500, "Robert P. J. Day" said:
> #define S_IRWXUGO (S_IRWXU|S_IRWXG|S_IRWXO)
> #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
> #define S_IRUGO (S_IRUSR|S_IRGRP|S_IROTH)
> #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH)
>
poking around error handling in the kernel, and noticed the
following ... in include/linux/err.h, we have IS_ERR() unsurprisingly
defined in terms of IS_ERR_VALUE():
#define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= \
(unsigned long)-MAX_ERRNO)
... snip ...
static