kernel & runtime_loader: Don't load from non-packaged when "Disable user

add-ons" is set.

Confirmed to fix #14361. It is finally possible to un-brick an install
with a bad system library in non-packaged without having to use another
install to do so.

Change-Id: Iafea7821f02cb34e77c766b1f97d1c19206b1081
Reviewed-on: https://review.haiku-os.org/c/1452
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Augustin Cavalier
2019-05-20 14:08:28 +00:00
committed by waddlesplash
parent 69712d5c00
commit 33f7f28798
3 changed files with 32 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@ struct user_space_program_args {
char **args;
char **env;
mode_t umask; // (mode_t)-1 means not set
bool disable_user_addons;
};
#endif /* KERNEL_USER_RUNTIME_H_ */