FreeBSD Bugzilla – Attachment 244470 Details for
Bug 273450
sysutils/password-store remove warning about dev/shm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
comment out the warning about /dev/shm
file_273450.txt (text/plain), 1.17 KB, created by
Sebastian
on 2023-08-30 12:25:48 UTC
(
hide
)
Description:
comment out the warning about /dev/shm
Filename:
MIME Type:
Creator:
Sebastian
Created:
2023-08-30 12:25:48 UTC
Size:
1.17 KB
patch
obsolete
>--- src/password-store.sh.orig >+++ src/password-store.sh >@@ -225,14 +225,15 @@ tmpdir() { > } > trap remove_tmpfile EXIT > else >- [[ $warn -eq 1 ]] && yesno "$(cat <<-_EOF >- Your system does not have /dev/shm, which means that it may >- be difficult to entirely erase the temporary non-encrypted >- password file after editing. >- >- Are you sure you would like to continue? >- _EOF >- )" >+# Disable warning about /dev/shm; this is only a Linuxism for tmpfs; has nothing to do with SYSV or POSIX shared memory >+# [[ $warn -eq 1 ]] && yesno "$(cat <<-_EOF >+# Your system does not have /dev/shm, which means that it may >+# be difficult to entirely erase the temporary non-encrypted >+# password file after editing. >+# >+# Are you sure you would like to continue? >+# _EOF >+# )" > SECURE_TMPDIR="$(mktemp -d "${TMPDIR:-/tmp}/$template")" > shred_tmpfile() { > find "$SECURE_TMPDIR" -type f -exec $SHRED {} +
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 273450
: 244470