ladybird/Userland/Utilities
Andreas Kling 439f447ba8 LibCore+su+passwd: Don't keep /etc/passwd and /etc/shadow open
Now that we've moved to atomic replacement of these files when altering
them, we don't need to keep them open for the lifetime of Core::Account
so just simplify this and close them when they are not needed.
2021-01-21 11:17:06 +01:00
..
adjtime.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
allocate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
aplay.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
arp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
avol.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
base64.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
basename.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
beep.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
cal.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
cat.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
checksum.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
chgrp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
chmod.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
chown.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
chres.cpp WindowServer: Add a "scale" parameter to the SetResolution message and plumb it through 2021-01-15 22:05:08 +01:00
chroot.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
clear.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
CMakeLists.txt Utilities: Add "chres", a way to change the screen resolution from the command line 2021-01-15 22:05:08 +01:00
copy.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
cp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
crash.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
cut.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
date.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ddate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
df.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
dirname.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
disasm.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
disk_benchmark.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
dmesg.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
du.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
echo.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
env.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
expr.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
false.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
fgrep.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
find.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
flock.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
functrace.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
gml-format.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
grep.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
gron.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
gunzip.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
head.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
hexdump.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
host.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
hostname.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
html.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
id.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ifconfig.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ini.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
jp.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
js.cpp LibC+Everywhere: Remove open_with_path_length() in favor of open() 2021-01-12 23:34:01 +01:00
keymap.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
kill.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
killall.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ln.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ls.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
lsirq.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
lsof.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
lspci.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
man.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
md.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
misbehaving-application.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mkdir.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mkfifo.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mknod.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
modload.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
modunload.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
more.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
mount.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
mv.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
nc.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
nl.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
notify.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ntpquery.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
open.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
pape.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
passwd.cpp LibCore+su+passwd: Don't keep /etc/passwd and /etc/shadow open 2021-01-21 11:17:06 +01:00
paste.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
pidof.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ping.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
pmap.cpp Everywhere: Convert a handful of String::format() => formatted() 2021-01-16 14:52:04 +01:00
printf.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
pro.cpp Everywhere: Remove more <AK/SharedBuffer.h> includes 2021-01-17 00:04:42 +01:00
profile.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
ps.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
purge.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
readelf.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
readlink.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
realpath.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
reboot.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
rm.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
rmdir.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
seq.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
shuf.cpp Userland: Implement shuf for basic shuffling 2021-01-20 19:19:34 +01:00
shutdown.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
sleep.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
sort.cpp Userland: Fix broken newlines in 'sort' 2021-01-20 19:19:34 +01:00
stat.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
strace.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
su.cpp LibCore+su+passwd: Don't keep /etc/passwd and /etc/shadow open 2021-01-21 11:17:06 +01:00
sync.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
syscall.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
sysctl.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tail.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tar.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tee.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-bindtodevice.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-compress.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-crypto.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-js.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
test-pthread.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-unveil.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test-web.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
test.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test_efault.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test_env.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
test_io.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
top.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
touch.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tr.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tree.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
true.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
truncate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tt.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
tty.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
umount.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
uname.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
uniq.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
unzip.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
uptime.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
useradd.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
userdel.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
utmpupdate.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
w.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
watch.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
wc.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
which.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
whoami.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
xargs.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00
yes.cpp Userland: Move command-line utilities to Userland/Utilities/ 2021-01-12 12:04:09 +01:00