Re: [DRAFT][PATCH] fanotify: lift pidfd reporting restrictions
From: Christian Brauner
Date: Fri Jun 05 2026 - 06:19:47 EST
> > + * pidfs_register_pid - register a struct pid in pidfs
> > + * @pid: pid to pin
> > + *
> > + * Register a struct pid in pidfs.
> > + *
> > + * Return: On success zero, on error a negative error code is returned.
> > + */
> > +int pidfs_register_pid(struct pid *pid)
Make this a static inline in the header, please.