diff options
author | Chris Johns <chrisj@rtems.org> | 2008-04-11 22:57:54 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2008-04-11 22:57:54 +0000 |
commit | 55c64fc9cd8ddd7a3d4b3207b9c9c698c7a9ec4b (patch) | |
tree | 6a00319f7a8793a8dfd64e1732ae7cdff7a82787 /cpukit/libmisc/shell/extern-cp.h | |
parent | 2008-04-09 Madhusudan.C.S <madhusudancs@gmail.com> (diff) | |
download | rtems-55c64fc9cd8ddd7a3d4b3207b9c9c698c7a9ec4b.tar.bz2 |
2008-04-12 Chris Johns <chrisj@rtems.org>
* libmisc/shell/shell.c, libmisc/shell/shell.h,
libmisc/shell/shell_script.c: Add support to echo the commands to
stdout. This is useful with the -v script option to show commands
as the run. Also added support to chdir to the directory the task
invoking the script is in.
* libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c,
libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version.
* libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown
support.
Diffstat (limited to 'cpukit/libmisc/shell/extern-cp.h')
-rw-r--r-- | cpukit/libmisc/shell/extern-cp.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/cpukit/libmisc/shell/extern-cp.h b/cpukit/libmisc/shell/extern-cp.h index 614142aa9a..ba6ff9c4de 100644 --- a/cpukit/libmisc/shell/extern-cp.h +++ b/cpukit/libmisc/shell/extern-cp.h @@ -46,21 +46,22 @@ typedef struct { typedef struct { PATH_T to; + int info; uid_t myuid; - int Rflag, fflag, iflag, pflag, rflag, vflag, Nflag; + int fflag, iflag, lflag, nflag, pflag, vflag; mode_t myumask; jmp_buf exit_jmp; } rtems_shell_cp_globals; #define to cp_globals->to +#define info cp_globals->info #define myuid cp_globals->myuid -#define Rflag cp_globals->Rflag #define fflag cp_globals->fflag #define iflag cp_globals->iflag +#define lflag cp_globals->lflag +#define nflag cp_globals->nflag #define pflag cp_globals->pflag -#define rflag cp_globals->rflag #define vflag cp_globals->vflag -#define Nflag cp_globals->Nflag #define myumask cp_globals->myumask #define exit_jump &(cp_globals->exit_jmp) @@ -81,7 +82,10 @@ int copy_link(rtems_shell_cp_globals* cp_globals, FTSENT *, int); int copy_special(rtems_shell_cp_globals* cp_globals, struct stat *, int); int set_utimes(const char *, struct stat *); int setfile(rtems_shell_cp_globals* cp_globals, struct stat *, int); +int preserve_dir_acls(struct stat *, char *, char *); +int preserve_fd_acls(int, int); void usage(); + __END_DECLS #endif /* !_EXTERN_H_ */ |