diff options
author | Eric Anholt <eric@anholt.net> | 2007-07-13 15:34:43 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-07-13 15:34:43 -0700 |
commit | fc6cc81be41af58ffd996994e1325dd072a9ab34 (patch) | |
tree | 6c8937f0026aa6adef867d5f8775a4405bed9e93 /xinit.c | |
parent | e9c1d1667b58c738cb1317219cc0ac84bef2a5d6 (diff) |
Use /dev/random to generate the cookie if mcookie is unavailable.
Setting XAUTHORITY without having actually generated a cookie and created
.Xauthority led to issues if somebody like ssh later came around and made the
.Xauthority file for their own setup. So, simply make it so that we never
fail to create one.
Diffstat (limited to 'xinit.c')
0 files changed, 0 insertions, 0 deletions