Changeset 7eada71 in rtems for cpukit/libmisc/shell/shell.h


Ignore:
Timestamp:
Nov 18, 2014, 6:35:30 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
478455e0
Parents:
ffd5285
git-author:
Sebastian Huber <sebastian.huber@…> (11/18/14 06:35:30)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/20/14 09:30:26)
Message:

shell: Add mode, UID and GID to shell commands

Use this information to determine if a command is visible to the current
user and if the current user is allowed to execute this command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/shell.h

    rffd5285 r7eada71  
    1919
    2020#include <sys/types.h>
     21#include <sys/stat.h>
    2122#include <rtems.h>
    2223#include <stdio.h>
     
    8485  rtems_shell_cmd_t     *alias;
    8586  rtems_shell_cmd_t     *next;
     87  mode_t                 mode;
     88  uid_t                  uid;
     89  gid_t                  gid;
    8690};
    8791
Note: See TracChangeset for help on using the changeset viewer.