~ubuntu-branches/ubuntu/dapper/postfix/dapper-security

« back to all changes in this revision

Viewing changes to src/global/user_acl.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-12-07 15:39:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051207153911-hutf07z6i8ty25z5
Tags: 2.2.6-1
* New upstream.
  - the *SQL clients did not uniformly choose the database host from
    the available pool
  - raise the "policy violation" flag when a client request exceeds
    a concurrency or rate limit.
  - don't do smtpd_end_of_data_restrictions after the transaction
    failed due to, e.g., a write error.
  - two messages could get the same message ID due to a race
    condition. This time window was increased when queue file creation
    was postponed from MAIL FROM until the first accepted RCPT TO.  The
    window is closed again.
  - the queue manager did not write a per-recipient defer logfile record
    when the delivery agent crashed after the initial handshake with the
    queue manager, and before reporting the delivery status to the queue
    manager.
  - moved code around from one place to another to make REDIRECT, FILTER,
    HOLD and DISCARD access(5) table actions work in
    smtpd_end_of_data_restrictions.  PREPEND will not be fixed; it must
    be specified before the message content is received.
* Updated Italian translations.  Closes: #336925
* Swedish translations.  Closes: #339746
* Switch to libdb4.3.  Closes: #336488
* Add Replaces: mail-transport-agent.  Closes: #325624
* Merge changes from ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _USER_ACL_H_INCLUDED_
 
2
#define _USER_ACL_H_INCLUDED_
 
3
/*++
 
4
/* NAME
 
5
/*      user_acl 3
 
6
/* SUMMARY
 
7
/*      Convert uid to username and check against given ACL.
 
8
/* SYNOPSIS
 
9
/*      #include <user_acl.h>
 
10
/*
 
11
/* DESCRIPTION
 
12
/* .nf
 
13
 
 
14
 /*
 
15
  * System library
 
16
  */
 
17
#include <unistd.h>             /* getuid()/geteuid() */
 
18
#include <sys/types.h>          /* uid_t */
 
19
 
 
20
 /*
 
21
  * Utility library.
 
22
  */
 
23
#include <vstring.h>
 
24
 
 
25
 /*
 
26
  * External interface
 
27
  */
 
28
extern const char *check_user_acl_byuid(char *, uid_t);
 
29
 
 
30
/* AUTHOR(S)
 
31
/*      Wietse Venema
 
32
/*      IBM T.J. Watson Research
 
33
/*      P.O. Box 704
 
34
/*      Yorktown Heights, NY 10598, USA
 
35
/*
 
36
/*      Victor Duchovni
 
37
/*      Morgan Stanley
 
38
/*--*/
 
39
#endif