diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-03-26 16:06:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-03-26 16:06:47 +0000 |
commit | 1a487e82d8077ff5b4942ae1d4c294c4035f67ca (patch) | |
tree | 1b4b2bbdc84315e5bd8eb23e103284d4e43e8a61 /sys | |
parent | 0d57cba6305e12177414fd68b8a6f144b716b75e (diff) |
encrypt swap by default. cheap, and why not. can be disabled by people
who have machines that hit swap a lot. decided after survey of developers,
we found that most turned this on. ok various
Diffstat (limited to 'sys')
-rw-r--r-- | sys/uvm/uvm_swap_encrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_swap_encrypt.c b/sys/uvm/uvm_swap_encrypt.c index e49215489e4..b3b22385680 100644 --- a/sys/uvm/uvm_swap_encrypt.c +++ b/sys/uvm/uvm_swap_encrypt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_swap_encrypt.c,v 1.13 2004/11/29 23:01:37 hshoexer Exp $ */ +/* $OpenBSD: uvm_swap_encrypt.c,v 1.14 2005/03/26 16:06:46 deraadt Exp $ */ /* * Copyright 1999 Niels Provos <provos@citi.umich.edu> @@ -45,7 +45,7 @@ struct swap_key *kcur = NULL; rijndael_ctx swap_ctxt; -int uvm_doswapencrypt = 0; +int uvm_doswapencrypt = 1; u_int uvm_swpkeyscreated = 0; u_int uvm_swpkeysdeleted = 0; |