RTEMS Logo

RTEMS 4.7.3 On-Line Library


IMFS_chown()

PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

6.4.1.8: IMFS_chown()

Corresponding Structure Element:

IMFS_chown()

Arguments:

rtems_filesystem_location_info_t    *pathloc        /* IN */
uid_t                                owner          /* IN */
gid_t                                group          /* IN */

File:

imfs_chown.c

Description:

This routine will locate the IMFS_jnode_t structure that holds ownership information for the selected node in the filesystem.

This structure is pointed to by pathloc->node_access.

The st_uid and st_gid fields of the node are then modified. Since this is a memory based filesystem, no further action is required to alter the ownership of the IMFS_jnode_t structure.


PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

Copyright © 1988-2004 OAR Corporation