Skip to content

pass: no /dev/shm on non rooted android #8809

Closed Locked Answered by ghost
saifamrkhail asked this question in Q&A
Discussion options

You must be logged in to vote

Right, Android doesn't have /dev/shm or equivalent TMPFS mount point and having it isn't possible without root anyway. pass wants to use /dev/shm which is usually a RAM disk to ensure that no file contents will remain on storage after file has been deleted.

You don't have security issue as soon as:

  • Your device is not rooted and therefore verified boot is not tampered.
  • Data partition is encrypted (basically any modern Android device) and screen lock is set.

Android isn't same as traditional Linux systems where system owner has root access and can dig through all content (even recently deleted) on /dev/sda.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@saifamrkhail
Comment options

@pbx
Comment options

@sylirre
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants