title: Isn't 'nice' in linux too dangerous?
body: <p>I am totally new to operating systems and I've experimented with nice.</p>
  <p>I created a program that constantly asks for an I/O operation</p>
  <pre><code>int main() 
  {
      int first_direction_fds[2];
      
      while (1)
      {
          write(first_direction_fds[1], &quot;auu\n&quot;, 5);
      }
  }
  </code></pre>
  <p>I, as the administrator, have set the priority for this process to the highest possible (-20).</p>
  <p>What concerns me is the fact that <strong>overtime this process does not have its priority lowered by the OS</strong>, which makes me think that if I run a sufficient amount of similar processes, I could, by no means, take over the system.</p>
  <p>Isn't linux exposing too much itself that way?</p>