summaryrefslogtreecommitdiff
path: root/trans/symlink.c
AgeCommit message (Collapse)Author
2023-12-17Update server handlers to return kern_return_error to fix ↵Flavio Cruz
-Werror=enum-int-mismatch warnings MiG expects those to return kern_return_t. Message-ID: <ZXqbbXpVqQAwd2qv@jupiter.tail36e24.ts.net>
2023-05-10trans: Port to x86_64Sergey Bugaev
Message-Id: <20230508213136.608575-39-bugaevc@gmail.com>
2022-01-16Make RPC input array parameters constSamuel Thibault
This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server side")
2022-01-01Fix build warningsSamuel Thibault
No actual behavior change.
2017-08-25trans/symlink: Use default server stubs.Justus Winter
* trans/Makefile (fsysServer-CFLAGS): Use default server stubs. * trans/symlink.c: Remove all the fsys stubs.
2014-02-25hurd: fix the get-children and get-source proceduresJustus Winter
* hurd/fs.defs: Add file_get_children and file_get_source. * hurd/fsys.defs: Remove fsys_get_children and fsys_get_source. * libdiskfs/fsys-get-children.c: Rename and adapt accordingly. * libdiskfs/fsys-get-source.c: Likewise. * libnetfs/fsys-get-children.c: Likewise. * libnetfs/fsys-get-source.c: Likewise. * libtrivfs/fsys-get-children.c: Likewise. * libtrivfs/fsys-get-source.c: Likewise. * libdiskfs/diskfs.h: Adapt prototype and comment. * libnetfs/netfs.h: Likewise. * libtrivfs/trivfs.h: Likewise. * libdiskfs/get-source.c: Adapt default implementation, provide diskfs_disk_name by default. * libnetfs/netfs.h: Adapt default implementation. * libtrivfs/get-source.c: Likewise. * libdiskfs/Makefile: Adapt accordingly. * libnetfs/Makefile: Likewise. * libtrivfs/Makefile: Likewise. * trans/symlink.c: Likewise. * trans/mtab.c: Likewise.
2013-09-15trans/symlink.c: add fsys_get_sourceJustus Winter
Create a server function returning EOPNOTSUPP. * trans/symlink.c (S_fsys_get_source): New function.
2013-09-15trans/symlink.c: add fsys_get_childrenJustus Winter
Create a server function returning EOPNOTSUPP. * trans/symlink.c (S_fsys_get_children): New function.
2013-08-29trans: register symlink translators as importantJustus Winter
Register any symlink translators running as root as important processes at the proc server. * trans/symlink.c (main): Mark us as important.
2002-05-292002-05-28 Roland McGrath <roland@frob.com>Roland McGrath
* symlink.c (S_fsys_getroot, S_fsys_getfile): u_int -> size_t
2002-05-132002-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* symlink.c: Include <argp.h> and <version.h>. (argp_program_version, options, args_doc, doc, argp): New variables. (parse_opt): New function. (main): Replace argument count check and usage output by argp_parse invocation.
2002-03-262002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield
* ifsock.c (main): Use ERR, not errno. * symlink.c: Include <error.h> and <errno.h>. (main): Use err, not fprintf and exit. Use error, not perror and exit. Use err, not error. Check for MACH_PORT_NULL explicitly. Check for proper usage of symlink before checking if symlink is started as a translator.
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* symlink.c: Include <string.h> for decls of built-ins. * firmlink.c: Include <stdlib.h> for exit decl. * ifsock.c: Likewise. * null.c: Likewise. * magic.c: Likewise. * fifo.c: Likewise. * hello.c: Likewise. * hello-mt.c: Likewise.
2000-03-172000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* symlink.c (main): Don't use MAKE_SEND in Hurd RPC.
1999-09-011999-08-31 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>Roland McGrath
* bogus-fifo.c (main): Deallocate bootstrap port after using it. * fifo.c (main): Likewise. * firmlink.c (main): Likewise. * ifsock.c (main): Likewise. * magic.c (main): Likewise. * null.c (main): Likewise. * symlink.c (main): Likewise.
1995-11-06(S_fsys_get_options): New function.Miles Bader
(main): Add flags argument to fsys_startup call. (S_fsys_startup): Add FLAGS arg.
1995-10-08(S_fsys_getpriv): Add new extra args.Miles Bader
1995-08-24(S_fsys_forward): New function.Miles Bader
1995-05-12Add fsys_set_options, replacing fsys_mod_readonly.Miles Bader
1994-08-31entered into RCSMichael I. Bushnell
1994-08-16Formerly symlink.c.~3~Michael I. Bushnell
1994-07-21Formerly symlink.c.~2~Michael I. Bushnell
1994-07-19Initial revisionMichael I. Bushnell