ladybird/Userland/Utilities
Itamar db11cfa2c5 Utilities+LibELF: Temporary promises for dynamic linker in "pledge"
This adds a "temporary promises for the dynamic-linker" flag ('-d')
to the "pledge" utility.

Example usage:
pledge -d -p "stdio rpath" id

Without the '-d' flag, id would crash because the dynamic linker
requires 'prot_exec'.

When this flag is used and the program to be run is dynamically linked,
"pledge" adds promises that are required by the dynamic linker
to the promise set provided by the user.

The dynamic linker will later "give up" the pledge promises it no
longer requires.
2022-07-21 16:40:11 +02:00
..
abench.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
adjtime.cpp adjtime: Port to LibMain 2022-01-21 01:52:22 +01:00
allocate.cpp allocate: Port to LibMain :^) 2021-11-27 11:14:16 +01:00
aplay.cpp LibAudio: Rename ConnectionFromClient to ConnectionToServer 2022-07-19 11:17:45 +01:00
arp.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
asctl.cpp LibAudio: Rename ConnectionFromClient to ConnectionToServer 2022-07-19 11:17:45 +01:00
base64.cpp base64: Replace char pointer with StringView 2022-05-02 22:18:27 +02:00
basename.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
beep.cpp beep: Port to LibMain :^) 2022-01-09 11:16:00 +03:30
blockdev.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
bt.cpp Everywhere: Use my fairly new and shiny serenityos.org email :^) 2022-06-30 15:59:42 +01:00
cal.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
cat.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
checksum.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
chgrp.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
chmod.cpp Everywhere: Use my fairly new and shiny serenityos.org email :^) 2022-06-30 15:59:42 +01:00
chown.cpp Utilities: Use default execpromises parameter to pledge(..) 2022-04-03 17:13:51 -07:00
chres.cpp Userland: Always construct Application with try_create() 2022-04-18 12:57:34 +02:00
cksum.cpp Utilities: Read positional arguments as Strings not char*s 2022-04-11 21:09:42 +02:00
clear.cpp Utilities: Use default execpromises parameter to pledge(..) 2022-04-03 17:13:51 -07:00
CMakeLists.txt Utilities: Remove the edid-dump utility 2022-07-19 11:02:37 +01:00
cmp.cpp cmp: Implement cmp(1) 2022-03-19 11:01:49 -07:00
comm.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
config.cpp config: Allow setting a key to the empty string 2022-04-26 22:42:54 +02:00
copy.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
cp.cpp cp: Implement the granular --preserve flag 2022-07-14 00:24:24 +01:00
cpp-lexer.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
cpp-parser.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
cpp-preprocessor.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
cut.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
date.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
dd.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
df.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
diff.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
dirname.cpp dirname: Port to LibMain 2021-12-16 02:10:47 -08:00
disasm.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
disk_benchmark.cpp LibCore+Userland: Use StringViews when calling Core::System::open 2022-07-09 09:25:20 +01:00
dmesg.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
du.cpp du: Implement the 1k block size short option 2022-07-21 16:37:04 +02:00
echo.cpp Utilities: Read positional arguments as Strings not char*s 2022-04-11 21:09:42 +02:00
env.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
errno.cpp errno: Port to LibMain 2022-01-01 14:40:41 +01:00
expr.cpp Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
false.cpp false: Port to LibMain 2022-01-14 19:42:19 +02:00
fdtdump.cpp fdtdump: Port to LibMain 2021-12-16 02:10:47 -08:00
fgrep.cpp Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
file.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
find.cpp Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
flock.cpp LibCore+flock: Make Core::System::waitpid more ergonomic 2022-01-11 16:04:29 +01:00
fortune.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
functrace.cpp Kernel: Stop requiring working malloc for syscall.h includes 2022-05-02 12:44:34 +02:00
gml-format.cpp Utilities: Read positional arguments as Strings not char*s 2022-04-11 21:09:42 +02:00
grep.cpp LibCore: Replace the ArgsParser option argument setting with an enum 2022-07-14 00:24:24 +01:00
gron.cpp gron: Use StringView literals more (instead of raw C strings) 2021-12-04 14:24:04 +01:00
groupadd.cpp Everywhere: Use my fairly new and shiny serenityos.org email :^) 2022-06-30 15:59:42 +01:00
groupdel.cpp Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
groups.cpp Utilities: Read positional arguments as Strings not char*s 2022-04-11 21:09:42 +02:00
gunzip.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
gzip.cpp gzip: Don't fail when trying to compress empty files 2022-01-08 15:29:38 +01:00
head.cpp Utilities: Read positional arguments as Strings not char*s 2022-04-11 21:09:42 +02:00
headless-browser.cpp headless-browser: Simplify the arguments used to select resources 2022-07-19 08:02:52 +01:00
hello-world.jakt Meta+Userland: Add jakt as an optional Lagom Tool 2022-05-23 23:05:45 +02:00
hexdump.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
host.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
hostname.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
id.cpp LibCore+id: Make more use of Core::System wrappers in Core::Account 2022-01-02 18:08:02 +01:00
ifconfig.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
ini.cpp ini: Use String for arguments 2022-04-25 10:47:56 +02:00
install.cpp LibCore+Userland: Remove File::ensure_parent_directories 2022-04-11 00:08:48 +02:00
jp.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
js.cpp js: Don't pass error strings as the format argument to outln() 2022-07-20 21:25:59 +01:00
kcov-example.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
keymap.cpp Keymap: Fix switching selected keymap 2022-06-16 14:58:43 +01:00
kill.cpp kill: Parse CLI arguments using Arguments.strings 2022-02-12 10:53:07 -05:00
killall.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
less.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
ln.cpp ln: Fix typo in arguments argument 2022-06-28 09:20:30 +01:00
logout.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
ls.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
lsblk.cpp Userland: Introduce the lsblk utility to show list of storage devices 2022-07-15 12:29:23 +02:00
lscpu.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
lsirq.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
lsof.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
lspci.cpp Utilities/lspci: Don't unveil /res/pci.ids if not asked to resolve IDs 2022-07-19 11:02:25 +01:00
lsusb.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
man.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
markdown-check.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
matroska.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
md.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
mkdir.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
mkfifo.cpp mkfifo: Add support for setting permissions with -m 2022-04-20 18:35:08 +02:00
mknod.cpp mknod: Port to LibMain 2022-01-24 14:01:58 +03:30
mktemp.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
mount.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
mv.cpp Utilities: Read positional arguments as Strings not char*s 2022-04-11 21:09:42 +02:00
nc.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
netstat.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
nl.cpp LibCore: Replace the ArgsParser option argument setting with an enum 2022-07-14 00:24:24 +01:00
notify.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
nproc.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
ntpquery.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
open.cpp open: Use more StringView instead of const char* 2022-01-31 15:25:07 +01:00
pape.cpp Userland: Always construct Application with try_create() 2022-04-18 12:57:34 +02:00
passwd.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
paste.cpp Everywhere: Use default StringView constructor over nullptr 2022-07-12 23:11:35 +02:00
pathchk.cpp Utilities: Read positional arguments as Strings not char*s 2022-04-11 21:09:42 +02:00
pgrep.cpp pgrep: Port to LibMain 2022-02-10 14:10:58 +00:00
pidof.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
ping.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
pledge.cpp Utilities+LibELF: Temporary promises for dynamic linker in "pledge" 2022-07-21 16:40:11 +02:00
pls.cpp Everywhere: Split Error::from_string_literal and Error::from_string_view 2022-07-12 23:11:35 +02:00
pmap.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
pmemdump.cpp Userland: Introduce the pmemdump utility 2022-01-08 13:21:16 +02:00
printf.cpp AK: Differ between long and long long formats 2022-04-14 03:12:56 +04:30
pro.cpp LibCore: Replace the ArgsParser option argument setting with an enum 2022-07-14 00:24:24 +01:00
profile.cpp LibCore: Replace the ArgsParser option argument setting with an enum 2022-07-14 00:24:24 +01:00
ps.cpp Userland: Fix crash when inputting non-tty device into ps 2022-04-02 21:49:16 +02:00
purge.cpp purge: Port to LibMain 2022-03-22 11:39:20 +01:00
pwd.cpp pwd: Add missing rpath pledge 2022-01-21 22:10:23 +01:00
readelf.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
readlink.cpp readlink: Use StringView instead of const char* 2022-03-24 11:57:51 +01:00
realpath.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
reboot.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
rev.cpp rev: Port to LibMain 2022-01-24 05:38:30 +00:00
rm.cpp rm: Port to LibMain 2022-01-25 02:50:10 +00:00
rmdir.cpp Utilities: Read positional arguments as Strings not char*s 2022-04-11 21:09:42 +02:00
route.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
run-tests.cpp LibCore: Replace the ArgsParser option argument setting with an enum 2022-07-14 00:24:24 +01:00
seq.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
shot.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
shuf.cpp shuf: Port to LibMain 2022-01-24 05:38:30 +00:00
shutdown.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
sleep.cpp Utilities: Use default execpromises parameter to pledge(..) 2022-04-03 17:13:51 -07:00
sort.cpp sort: Port to LibMain 2022-01-24 05:38:30 +00:00
sql.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
stat.cpp Utilities: Use default execpromises parameter to pledge(..) 2022-04-03 17:13:51 -07:00
strace.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
stty.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
su.cpp su: Change the HOME enviroment variable on login 2022-05-05 20:49:18 +02:00
sync.cpp sync: Port to LibMain 2022-02-01 04:58:24 +00:00
syscall.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
sysctl.cpp sysctl: Port to LibMain 2022-02-01 04:58:24 +00:00
tac.cpp Userland: Port tac to LibMain 2022-01-09 04:26:16 -08:00
tail.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
tar.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
tee.cpp Everywhere: Use my fairly new and shiny serenityos.org email :^) 2022-06-30 15:59:42 +01:00
telws.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
test_env.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
test-bindtodevice.cpp test-bindtodevice: Port to LibMain 2022-03-29 21:28:29 -07:00
test-fuzz.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
test-imap.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
test-pthread.cpp test-pthread: Port to LibMain and let local functions return ErrorOr<T> 2022-03-29 21:28:29 -07:00
test-unveil.cpp LibCore: Replace the ArgsParser option argument setting with an enum 2022-07-14 00:24:24 +01:00
test.cpp Everywhere: Use default StringView constructor over nullptr 2022-07-12 23:11:35 +02:00
timezone.cpp Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
top.cpp LibCore: Replace the ArgsParser option argument setting with an enum 2022-07-14 00:24:24 +01:00
touch.cpp touch: Support custom timestamps 2022-05-21 18:15:00 +02:00
tr.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
traceroute.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
tree.cpp Utilities: Read positional arguments as Strings not char*s 2022-04-11 21:09:42 +02:00
true.cpp true: Port to LibMain 2022-03-22 11:39:20 +01:00
truncate.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
tt.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
tty.cpp tty: Port to LibMain 2022-03-29 21:28:29 -07:00
umount.cpp umount: Port to LibMain 2022-01-22 13:31:52 +02:00
uname.cpp uname: Port to LibMain 2022-01-04 07:33:23 +00:00
uniq.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
unzip.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
update-cpp-test-results.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
uptime.cpp uptime: Port to LibMain :^) 2022-01-02 09:42:56 +00:00
useradd.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
userdel.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
usermod.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
utmpupdate.cpp Userland: Convert command line arguments to String/StringView 2022-07-12 23:11:35 +02:00
w.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
wasm.cpp LibCore: Replace the ArgsParser option argument setting with an enum 2022-07-14 00:24:24 +01:00
watch.cpp LibCore: Replace the ArgsParser option argument setting with an enum 2022-07-14 00:24:24 +01:00
wc.cpp Utilities: Read positional arguments as Strings not char*s 2022-04-11 21:09:42 +02:00
which.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
whoami.cpp whoami: Port to LibMain :^) 2021-11-30 23:34:40 +01:00
wsctl.cpp Userland: Always construct Application with try_create() 2022-04-18 12:57:34 +02:00
xargs.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
xml.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
yes.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
zip.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00