Newer
Older
UbixOS / doc / html / d2 / def / access_8h.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>UbixOS: include/ubixos/access.h File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">UbixOS
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d2/def/access_8h.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">access.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="../../dd/d1b/ubthread_8h_source.html">ubixos/ubthread.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for access.h:</div>
<div class="dyncontent">
<div class="center"><img src="../../d9/d4d/access_8h__incl.png" border="0" usemap="#include_2ubixos_2access_8h" alt=""/></div>
<map name="include_2ubixos_2access_8h" id="include_2ubixos_2access_8h">
<area shape="rect" title=" " alt="" coords="1027,5,1190,32"/>
<area shape="rect" href="../../dd/d1b/ubthread_8h.html" title=" " alt="" coords="1046,80,1171,107"/>
<area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="497,528,587,555"/>
<area shape="rect" href="../../d7/d00/sched_8h.html" title=" " alt="" coords="408,155,519,181"/>
<area shape="rect" href="../../de/df7/time_8h.html" title=" " alt="" coords="1147,453,1247,480"/>
<area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="345,752,443,779"/>
<area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="443,603,537,629"/>
<area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="516,677,605,704"/>
<area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="681,677,800,704"/>
<area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="387,677,492,704"/>
<area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="211,677,311,704"/>
<area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="545,229,613,256"/>
<area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="197,304,292,331"/>
<area shape="rect" href="../../dd/d71/tty_8h.html" title=" " alt="" coords="810,229,901,256"/>
<area shape="rect" href="../../de/d9a/tss_8h.html" title=" " alt="" coords="32,229,108,256"/>
<area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="898,304,1021,331"/>
<area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="538,304,621,331"/>
<area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="384,379,455,405"/>
<area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="786,304,874,331"/>
<area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="85,379,165,405"/>
<area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="165,453,257,480"/>
<area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="5,603,113,629"/>
<area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="58,453,141,480"/>
<area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="530,379,629,405"/>
<area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="653,379,741,405"/>
<area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="765,379,868,405"/>
<area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="384,453,479,480"/>
<area shape="rect" href="../../dc/dac/io_8h.html" title=" " alt="" coords="1163,528,1231,555"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/dd3/access_8h__dep__incl.png" border="0" usemap="#include_2ubixos_2access_8hdep" alt=""/></div>
<map name="include_2ubixos_2access_8hdep" id="include_2ubixos_2access_8hdep">
<area shape="rect" title=" " alt="" coords="5,5,168,32"/>
<area shape="rect" href="../../d3/d85/access_8c.html" title=" " alt="" coords="29,80,144,107"/>
</map>
</div>
</div>
<p><a href="../../d2/def/access_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d80/structsys__setGID__args.html">sys_setGID_args</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d58/structsys__setUID__args.html">sys_setUID_args</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a08fefde44d325e88c3acf2c658657d9d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/def/access_8h.html#a08fefde44d325e88c3acf2c658657d9d">sys_getEUID</a> (struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *, void *)</td></tr>
<tr class="separator:a08fefde44d325e88c3acf2c658657d9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa38e3440abaf557f990c5b43b7c9169e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/def/access_8h.html#aa38e3440abaf557f990c5b43b7c9169e">sys_getGID</a> (struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *, void *)</td></tr>
<tr class="separator:aa38e3440abaf557f990c5b43b7c9169e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe9d585703fca5611ce1b22ae058a90a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/def/access_8h.html#afe9d585703fca5611ce1b22ae058a90a">sys_getUID</a> (struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *, void *)</td></tr>
<tr class="separator:afe9d585703fca5611ce1b22ae058a90a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5097d7169cbe64080aeb08c0b136e3de"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/def/access_8h.html#a5097d7169cbe64080aeb08c0b136e3de">sys_setGID</a> (struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *, struct <a class="el" href="../../dd/d80/structsys__setGID__args.html">sys_setGID_args</a> *)</td></tr>
<tr class="separator:a5097d7169cbe64080aeb08c0b136e3de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e2317129a3923b5b72dbacef9527fa7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/def/access_8h.html#a5e2317129a3923b5b72dbacef9527fa7">sys_setUID</a> (struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *, struct <a class="el" href="../../d8/d58/structsys__setUID__args.html">sys_setUID_args</a> *)</td></tr>
<tr class="separator:a5e2317129a3923b5b72dbacef9527fa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a08fefde44d325e88c3acf2c658657d9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08fefde44d325e88c3acf2c658657d9d">&#9670;&nbsp;</a></span>sys_getEUID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sys_getEUID </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d3/d85/access_8c_source.html#l00055">55</a> of file <a class="el" href="../../d3/d85/access_8c_source.html">access.c</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d02/armv6_2sched_8c_source.html#l00050">_current</a>, and <a class="el" href="../../d7/d00/sched_8h_source.html#l00073">taskStruct::uid</a>.</p>

</div>
</div>
<a id="aa38e3440abaf557f990c5b43b7c9169e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa38e3440abaf557f990c5b43b7c9169e">&#9670;&nbsp;</a></span>sys_getGID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sys_getGID </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d3/d85/access_8c_source.html#l00059">59</a> of file <a class="el" href="../../d3/d85/access_8c_source.html">access.c</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d02/armv6_2sched_8c_source.html#l00050">_current</a>, and <a class="el" href="../../d7/d00/sched_8h_source.html#l00073">taskStruct::gid</a>.</p>

</div>
</div>
<a id="afe9d585703fca5611ce1b22ae058a90a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe9d585703fca5611ce1b22ae058a90a">&#9670;&nbsp;</a></span>sys_getUID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sys_getUID </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d3/d85/access_8c_source.html#l00051">51</a> of file <a class="el" href="../../d3/d85/access_8c_source.html">access.c</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d02/armv6_2sched_8c_source.html#l00050">_current</a>, and <a class="el" href="../../d7/d00/sched_8h_source.html#l00073">taskStruct::uid</a>.</p>

</div>
</div>
<a id="a5097d7169cbe64080aeb08c0b136e3de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5097d7169cbe64080aeb08c0b136e3de">&#9670;&nbsp;</a></span>sys_setGID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sys_setGID </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="../../dd/d80/structsys__setGID__args.html">sys_setGID_args</a> *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d3/d85/access_8c_source.html#l00063">63</a> of file <a class="el" href="../../d3/d85/access_8c_source.html">access.c</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d02/armv6_2sched_8c_source.html#l00050">_current</a>, <a class="el" href="../../d7/d00/sched_8h_source.html#l00073">taskStruct::gid</a>, and <a class="el" href="../../d3/d7e/sysproto__posix_8h_source.html#l00150">sys_setGID_args::gid</a>.</p>

</div>
</div>
<a id="a5e2317129a3923b5b72dbacef9527fa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e2317129a3923b5b72dbacef9527fa7">&#9670;&nbsp;</a></span>sys_setUID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sys_setUID </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="../../d3/dc5/structthread.html">thread</a> *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="../../d8/d58/structsys__setUID__args.html">sys_setUID_args</a> *&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d3/d85/access_8c_source.html#l00043">43</a> of file <a class="el" href="../../d3/d85/access_8c_source.html">access.c</a>.</p>

<p class="reference">References <a class="el" href="../../d3/d02/armv6_2sched_8c_source.html#l00050">_current</a>, <a class="el" href="../../d7/d00/sched_8h_source.html#l00073">taskStruct::uid</a>, and <a class="el" href="../../d3/d7e/sysproto__posix_8h_source.html#l00144">sys_setUID_args::uid</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_a44873caf3fcbd6d765fc7260c584f7c.html">ubixos</a></li><li class="navelem"><a class="el" href="../../d2/def/access_8h.html">access.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
  </ul>
</div>
</body>
</html>