Invention Grant
- Patent Title: Guarded file descriptors
- Patent Title (中): 保护文件描述符
-
Application No.: US13620733Application Date: 2012-09-15
-
Publication No.: US08930324B2Publication Date: 2015-01-06
- Inventor: Russell A. Blaine , Timothy P. Marsland , Benjamin H. Nham , Adam C. Swift , Benjamin C. Trumbull , Umesh S. Vaishampayan
- Applicant: Russell A. Blaine , Timothy P. Marsland , Benjamin H. Nham , Adam C. Swift , Benjamin C. Trumbull , Umesh S. Vaishampayan
- Agency: Womble Carlyle Sandridge & Rice, LLP
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/00 ; G06F17/30 ; G06F11/14 ; G06F11/07

Abstract:
Guarded file access operations are provided for creating and using guarded file descriptors, which can detect and prevent erroneous file access operations in computer programs. A file descriptor can be associated with a guard identifier to create a guarded file descriptor. The association can be established when the file is opened, and can be maintained independently of the computer program, which ordinarily maintains its own association between files, file descriptors, and guard identifiers. Subsequent file operations using the guarded file descriptor check that the guard identifier previously associated with that file descriptor is presented, and generate errors without performing the requested file operations if the correct guard identifier is not presented. This check serves as a validation of the computer program's use of file descriptors. An error and stack trace can be generated for use in analyzing a cause of the guard violation.
Public/Granted literature
- US20130339313A1 GUARDED FILE DESCRIPTORS Public/Granted day:2013-12-19
Information query