~ubuntu-branches/ubuntu/saucy/keyutils/saucy

« back to all changes in this revision

Viewing changes to .pc/0003-cifs.patch/request-key.conf

  • Committer: Package Import Robot
  • Author(s): Luk Claes
  • Date: 2013-04-06 09:38:50 UTC
  • mfrom: (10.2.11 sid)
  • Revision ID: package-import@ubuntu.com-20130406093850-e6xnevgf3za1t4y3
Tags: 1.5.5-7
* Taking over with maintainer's consent.
* Adding watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###############################################################################
 
2
#
 
3
# Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
 
4
# Written by David Howells (dhowells@redhat.com)
 
5
#
 
6
# This program is free software; you can redistribute it and/or
 
7
# modify it under the terms of the GNU General Public License
 
8
# as published by the Free Software Foundation; either version
 
9
# 2 of the License, or (at your option) any later version.
 
10
#
 
11
###############################################################################
 
12
 
 
13
 
 
14
###############################################################################
 
15
#
 
16
# We can run programs or scripts
 
17
# - Macro substitutions in arguments:
 
18
#       %%...   %...
 
19
#       %o      operation name
 
20
#       %k      ID of key being operated upon
 
21
#       %t      type of key being operated upon
 
22
#       %d      description of key being operated upon
 
23
#       %c      callout info
 
24
#       %u      UID of requestor
 
25
#       %g      GID of requestor
 
26
#       %T      thread keyring of requestor (may be 0)
 
27
#       %P      process keyring of requestor (may be 0)
 
28
#       %S      session keyring of requestor (may be the user's default session)
 
29
#
 
30
################################################################################
 
31
 
 
32
#OP     TYPE    DESCRIPTION     CALLOUT INFO    PROGRAM ARG1 ARG2 ARG3 ...
 
33
#====== ======= =============== =============== ===============================
 
34
create  dns_resolver *          *               /sbin/key.dns_resolver %k
 
35
create  user    debug:*         negate          /bin/keyctl negate %k 30 %S
 
36
create  user    debug:*         rejected        /bin/keyctl reject %k 30 %c %S
 
37
create  user    debug:*         expired         /bin/keyctl reject %k 30 %c %S
 
38
create  user    debug:*         revoked         /bin/keyctl reject %k 30 %c %S
 
39
create  user    debug:loop:*    *               |/bin/cat
 
40
create  user    debug:*         *               /usr/share/keyutils/request-key-debug.sh %k %d %c %S
 
41
negate  *       *               *               /bin/keyctl negate %k 30 %S