On 09/03/2022 11:24, Christian König wrote: > Am 09.03.22 um 11:10 schrieb Simon Ser: >> On Wednesday, March 9th, 2022 at 10:56, Pierre-Eric Pelloux-Prayer >> <pierre-eric.pelloux-pra...@amd.com> wrote: >> >>> Would it be possible to include the app parameters as well? >> Can all processes read sysfs events? > > No, but application parameters are usually not secret. > >> There might be security implications here. The app parameters might >> contain sensitive information, like passwords or tokens. > > It's a well known security vulnerably to provide password etc.. as > application parameter since everybody can read them through procfs. > >> Can't the uevent receiver query the kernel to get that info from the >> PID? > > I'm leaning also towards just providing the PID and not the application name. > The information should be as short as possible. > Indeed you're both right. The PID + reading procfs should be enough. Thanks, Pierre-Eric
- [PATCH v2 1/2] drm: Add GPU reset sysfs event Shashank Sharma
- [PATCH v2 2/2] drm/amdgpu: add work functi... Shashank Sharma
- Re: [PATCH v2 1/2] drm: Add GPU reset sysf... Simon Ser
- Re: [PATCH v2 1/2] drm: Add GPU reset ... Sharma, Shashank
- Re: [PATCH v2 1/2] drm: Add GPU reset sysf... Christian König
- Re: [PATCH v2 1/2] drm: Add GPU reset sysf... Pierre-Eric Pelloux-Prayer
- Re: [PATCH v2 1/2] drm: Add GPU reset ... Simon Ser
- Re: [PATCH v2 1/2] drm: Add GPU re... Christian König
- Re: [PATCH v2 1/2] drm: Add GP... Simon Ser
- Re: [PATCH v2 1/2] drm: Add GP... Pierre-Eric Pelloux-Prayer
- Re: [PATCH v2 1/2] drm: Add GPU reset sysf... Rob Clark
- Re: [PATCH v2 1/2] drm: Add GPU reset ... Christian König
- Re: [PATCH v2 1/2] drm: Add GPU re... Rob Clark
- Re: [PATCH v2 1/2] drm: Add GP... Sharma, Shashank
- Re: [PATCH v2 1/2] drm: A... Andrey Grodzovsky
- Re: [PATCH v2 1/2] dr... Rob Clark
- Re: [PATCH v2 1/2] drm: A... Rob Clark
- Re: [PATCH v2 1/2] dr... Sharma, Shashank
- Re: [PATCH v2 1/2... Rob Clark
- Re: [PATCH v2 1/2... Abhinav Kumar