From e73b17e825176eb6f82d028d6dca28ab7595ae0a Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 12 Mar 2004 03:02:14 +0000 Subject: [PATCH] implemented --secure git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1223 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/src/vattribute.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/util-vserver/src/vattribute.c b/util-vserver/src/vattribute.c index 4562ec5..cf882e4 100644 --- a/util-vserver/src/vattribute.c +++ b/util-vserver/src/vattribute.c @@ -134,17 +134,15 @@ setCCaps(char const *str, struct vc_ctx_caps *caps) } } - - static void setSecure(struct vc_ctx_flags UNUSED * flags, struct vc_ctx_caps UNUSED * caps) { -#warning Implement me... - abort(); + caps->ccaps = ~vc_get_securecaps(); + caps->cmask = ~0; + caps->bcaps = ~0; } - int main(int argc, char *argv[]) { struct Arguments args = { -- 1.8.1.5