7146506: (fc) Add EACCES check to the return of fcntl native method

Add EACCES check according to the spec of fcntl

Reviewed-by: alanb
1 file changed