mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:07:43 +00:00
Userland: Link directly against LibUnicodeData where needed
This is partially a revert of commits:10a8b6d411
561b67a1ad
Rather than adding the prot_exec pledge requried to use dlopen(), we can link directly against LibUnicodeData in applications that we know need that library. This might make the dlopen() dance a bit unnecessary. The same purpose might now be fulfilled with weak symbols. That can be revisted next, but for now, this at least removes the potential security risk of apps like the Browser having prot_exec privileges.
This commit is contained in:
parent
0c84957eba
commit
565a880ce5
17 changed files with 18 additions and 18 deletions
|
@ -1195,7 +1195,7 @@ private:
|
|||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
#ifdef __serenity__
|
||||
TRY(Core::System::pledge("stdio rpath wpath cpath tty sigaction prot_exec"));
|
||||
TRY(Core::System::pledge("stdio rpath wpath cpath tty sigaction"));
|
||||
#endif
|
||||
|
||||
bool gc_on_every_allocation = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue