Re: How to disable application run

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mardi 04-10-2016 à 11:51 Marcin Głogowski a écrit:
> Hello guys,
> I have to create Linux based solution to prevent running applications 
> from the blacklist.
> How can I achieve this? Which part of the Linux kernel is needed to 
> achieve this?
> I think it would be nice to create block device which will store black 
> and white list, but I have no idea what part
> of the kernel is responsible for this functionality.
> It is not possible to kill the application after run - I have to find 
> nicer solution.
> Thank you much, regards CiN



Hi,
I do not really understand what you intend to do? On what basis do you intend to blacklist an application?
On his name? It's easy to change it ! Otherwise, to answer your question, I personally will create a patch at the allocation of pid. This placed just before the execution but you still a lot of information about the process asking to be launched. Do a search around "alloc_pid" in the linux kernel sources.

good luck,
Yves.��.n��������+%������w��{.n�����{��ji���^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux