~ubuntu-branches/ubuntu/raring/vsftpd/raring

« back to all changes in this revision

Viewing changes to sysdeputil.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-07-20 05:55:34 UTC
  • mfrom: (2.2.12 sid)
  • Revision ID: james.westby@ubuntu.com-20090720055534-kerhcu3y5q115pf5
Tags: 2.2.0~pre4-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Use LSB functions in the init script.
  - Use snakeoil SSL certificates and key.
  - Do not create rc.d stop symlinks
  - Add update-inetd dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
/* Authentication of local users */
17
17
/* Return 0 for fail, 1 for success */
18
 
int vsf_sysdep_check_auth(const struct mystr* p_user,
 
18
int vsf_sysdep_check_auth(struct mystr* p_user,
19
19
                          const struct mystr* p_pass,
20
20
                          const struct mystr* p_remote_host);
21
21
 
60
60
/* Or a softer version delivering SIGTERM. */
61
61
void vsf_set_term_if_parent_dies();
62
62
 
63
 
/* If supported, the ability to fork into different secure namespaces. */
 
63
/* If supported, the ability to fork into different secure namespaces (PID
 
64
 * and IPC. Fails back to normal fork() */
64
65
int vsf_sysutil_fork_isolate_failok();
 
66
/* If supported, the ability to fork into an empty network namespace.
 
67
 * Fails back to normal fork() */
 
68
int vsf_sysutil_fork_newnet();
65
69
int vsf_sysutil_getpid_nocache();
66
70
 
67
71
#endif /* VSF_SYSDEPUTIL_H */