Changeset 183 for trunk/src/slib.c
- Timestamp:
- Oct 26, 2008, 12:59:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/slib.c
r174 r183 2652 2652 static struct sl_trustfile_store * sl_trusted_files = NULL; 2653 2653 2654 void sl_add_trusted_file(char * filename, uid_t teuid)2654 static void sl_add_trusted_file(const char * filename, uid_t teuid) 2655 2655 { 2656 2656 struct sl_trustfile_store *new = SH_ALLOC(sizeof(struct sl_trustfile_store)); … … 2664 2664 } 2665 2665 2666 char * sl_check_trusted_file(char * filename, uid_t teuid)2666 static const char * sl_check_trusted_file(const char * filename, uid_t teuid) 2667 2667 { 2668 2668 struct sl_trustfile_store *new = sl_trusted_files; … … 2678 2678 } 2679 2679 2680 void sl_clear_trusted_file(struct sl_trustfile_store * file)2680 static void sl_clear_trusted_file(struct sl_trustfile_store * file) 2681 2681 { 2682 2682 if (file) … … 2690 2690 } 2691 2691 2692 int sl_trustfile_euid(c har * filename, uid_t teuid)2692 int sl_trustfile_euid(const char * filename, uid_t teuid) 2693 2693 { 2694 2694 long status;
Note:
See TracChangeset
for help on using the changeset viewer.