Blame sys.h

Packit Service 623930
/*
Packit Service 623930
  chronyd/chronyc - Programs for keeping computer clocks accurate.
Packit Service 623930
Packit Service 623930
 **********************************************************************
Packit Service 623930
 * Copyright (C) Richard P. Curnow  1997-2002
Packit Service 623930
 * 
Packit Service 623930
 * This program is free software; you can redistribute it and/or modify
Packit Service 623930
 * it under the terms of version 2 of the GNU General Public License as
Packit Service 623930
 * published by the Free Software Foundation.
Packit Service 623930
 * 
Packit Service 623930
 * This program is distributed in the hope that it will be useful, but
Packit Service 623930
 * WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 623930
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 623930
 * General Public License for more details.
Packit Service 623930
 * 
Packit Service 623930
 * You should have received a copy of the GNU General Public License along
Packit Service 623930
 * with this program; if not, write to the Free Software Foundation, Inc.,
Packit Service 623930
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
Packit Service 623930
 * 
Packit Service 623930
 **********************************************************************
Packit Service 623930
Packit Service 623930
  =======================================================================
Packit Service 623930
Packit Service 623930
  This is the header for the file that links in the operating system-
Packit Service 623930
  specific parts of the software
Packit Service 623930
Packit Service 623930
*/
Packit Service 623930
Packit Service 623930
#ifndef GOT_SYS_H
Packit Service 623930
#define GOT_SYS_H
Packit Service 623930
Packit Service 623930
/* Called at the start of the run to do initialisation */
Packit Service 623930
extern void SYS_Initialise(int clock_control);
Packit Service 623930
Packit Service 623930
/* Called at the end of the run to do final clean-up */
Packit Service 623930
extern void SYS_Finalise(void);
Packit Service 623930
Packit Service 623930
/* Drop root privileges to the specified user and group */
Packit Service 623930
extern void SYS_DropRoot(uid_t uid, gid_t gid);
Packit Service 623930
Packit Service 623930
/* Enable a system call filter to allow only system calls
Packit Service 623930
   which chronyd normally needs after initialization */
Packit Service 623930
extern void SYS_EnableSystemCallFilter(int level);
Packit Service 623930
Packit Service 623930
extern void SYS_SetScheduler(int SchedPriority);
Packit Service 623930
extern void SYS_LockMemory(void);
Packit Service 623930
Packit Service 623930
#endif /* GOT_SYS_H */