Attachment 'linprocfs.patch'

Download

   1 --- sys/compat/linprocfs/linprocfs.c	(revision 204763)
   2 +++ sys/compat/linprocfs/linprocfs.c	(working copy)
   3 @@ -1312,6 +1312,8 @@
   4  	    NULL, NULL, NULL, PFS_RD);
   5  	pfs_create_file(dir, "status", &linprocfs_doprocstatus,
   6  	    NULL, NULL, NULL, PFS_RD);
   7 +	/* XXX: Hack to make ttyname() work. */
   8 +	pfs_create_file(dir, "fd", NULL, NULL, NULL, NULL, PFS_RD);
   9  
  10  	/* /proc/scsi/... */
  11  	dir = pfs_create_dir(root, "scsi", NULL, NULL, NULL, 0);

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.

You are not allowed to attach a file to this page.