1
0
mirror of synced 2026-04-26 04:16:54 +00:00
Files
xen-tools.xen-tools/etc/hook.d/10-disable-tls
steve 40d5ce2861 2006-02-18 12:24:23 by steve
Create an empty /lib/tls directory on the host and ensure it may not
 be used.
2006-02-18 12:24:23 +00:00

20 lines
368 B
Bash
Executable File

#!/bin/sh
#
# This script disables TLS on the new image.
#
# Steve
# --
# $Id: 10-disable-tls,v 1.5 2006-02-18 12:24:23 steve Exp $
prefix=$1
mv ${prefix}/lib/tls ${prefix}/lib/tls.disabled
#
# Make a new /lib/tls directory in the guest, and make sure
# it cannot be modified.
#
mkdir ${prefix}/lib/tls
chmod 0 ${prefix}/lib/tls
chattr +i ${prefix}/lib/tls