Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: execute statically-linked linux files



In article <91bb6459-8ec6-ad30-6c35-4cb9831dc32%SDF.ORG@localhost>,
RVP  <rvp%SDF.ORG@localhost> wrote:
>I forgot this:
>
>---START PATCH---
>--- sys/miscfs/procfs/procfs_vnops.c.orig	2021-12-09 04:11:22.778882692 +0000
>+++ sys/miscfs/procfs/procfs_vnops.c	2022-01-06 22:24:06.003672573 +0000
>@@ -1400,6 +1400,7 @@
>  			nc++;
>  		}
>  		if (error) {
>+		    	procfs_proc_unlock(p);
>  			ncookies = nc;
>  			break;
>  		}
>@@ -1454,6 +1455,7 @@
>  			nc++;
>  		}
>  		if (error) {
>+		    	procfs_proc_unlock(p);
>  			ncookies = nc;
>  			break;
>  		}
>---END PATCH---
>
>A couple of procfs_proc_unlock()s are missing in the
>error path.

Fixed, thanks!

christos



Home | Main Index | Thread Index | Old Index