kern/109024: [msdosfs] mount_msdosfs: msdosfs_iconv: Operation not permitted

Alexander Pyhalov alp at rsu.ru
Thu Jun 21 13:10:07 UTC 2007


The following reply was made to PR kern/109024; it has been noted by GNATS.

From: Alexander Pyhalov <alp at rsu.ru>
To: bug-followup at FreeBSD.org, ggg_mail at inbox.ru
Cc:  
Subject: Re: kern/109024: [msdosfs] mount_msdosfs: msdosfs_iconv: Operation
 not permitted
Date: Thu, 21 Jun 2007 16:49:06 +0400

 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
 </head>
 <body bgcolor=3D"#ffffff" text=3D"#000000">
 <font face=3D"Courier New, Courier, monospace">Bug was wrongly closed,
 because with loaded module msdosfs_iconv.ko mount says mount_msdosfs:
 msdosfs_iconv: Operation not permitted. <br>
 The reason, as I understand, is in kiconv. If you compile and run the
 following code at sturtup=9A ( you should run it as root, for example,
 using rc.d), everything works correctly.<br>
 <br>
 #include &lt;sys/stat.h&gt;<br>
 #include &lt;stdio.h&gt;<br>
 #include &lt;sys/iconv.h&gt;<br>
 <br>
 int main()<br>
 {<br>
 =9A=9A=9A=9A=9A=9A=9A int er;<br>
 =9A=9A=9A=9A=9A=9A=9A er=3Dkiconv_add_xlat16_cspairs("UTF-16BE", "UTF-8")=
 ;<br>
 =9A=9A=9A=9A=9A=9A=9A if(er)<br>
 =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A printf("Er=3D%d\n",er);<br>=
 
 =9A=9A=9A=9A=9A=9A=9A er=3Dkiconv_add_xlat16_cspairs("cp866","UTF-8");<br=
 >
 =9A=9A=9A=9A=9A=9A=9A if(er)<br>
 =9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A printf("Er2=3D%d\n",er);<br=
 >
 =9A=9A=9A=9A=9A=9A=9A return 0;<br>
 }<br>
 <br>
 <br>
 </font>
 <pre class=3D"moz-signature" cols=3D"72">--=20
 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD,=20
 =E1=CC=C5=CB=D3=C1=CE=C4=D2 =F0=D9=C8=C1=CC=CF=D7,
 =D3=C9=D3=D4=C5=CD=CE=D9=CA =C1=C4=CD=C9=CE=C9=D3=D4=D2=C1=D4=CF=D2 =E0=E7=
 =E9=EE=E6=EF =E0=E6=F5.
 </pre>
 </body>
 </html>
 


More information about the freebsd-bugs mailing list