shithub: riscv

Download patch

ref: 89acedb9b8c8cf88f0a706184852adb7e8767b14
parent: c5214cd6d9b36622d838fe171273d9f0dd5ba407
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon May 26 18:43:21 EDT 2014

devproc: fix close and closefiles procctl

for the CMclose procctl, the fd number was not
bounds checked before indexing in the Fgrp.fd
array.

for the CMclosefiles, we looped fd from 0..maxfd-1,
but need to loop from 0..maxfd as maxfd is inclusive.