lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 16 Jun 2009 13:00:36 -0700
From:	Kevin Fox <Kevin.Fox@....gov>
To:	linux-kernel@...r.kernel.org
Subject: unix socket fd sending questions

Say you were to open a directory handle in process A and pass it through
a unix socket to process B.

Process A and B are owned by two different users and are running in two
separate mount namespaces.

If you were to readdir in process B on the descriptor would you see
process A's view of the world? I'm guessing probably so.

If you were to walk the tree pointed to by the descriptor, would you see
A's view of the world? I'm guessing not if you use open/readdir, but
what about openat and the like?

Thanks,
Kevin Fox

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ