<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com.au/group/comp.os.linux.development.system</id>
  <title type="text">comp.os.linux.development.system Google Group</title>
  <subtitle type="text">
  Linux kernels, device drivers, modules.
  </subtitle>
  <link href="/group/comp.os.linux.development.system/feed/atom_v1_0_msgs.xml" rel="self" title="comp.os.linux.development.system feed"/>
  <updated>2009-11-08T20:35:52Z</updated>
  <generator uri="http://groups.google.com.au" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Tauno Voipio</name>
  <email>tauno.voi...@notused.fi.invalid</email>
  </author>
  <updated>2009-11-08T20:35:52Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/9818ed6e40adbb85?show_docid=9818ed6e40adbb85</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/9818ed6e40adbb85?show_docid=9818ed6e40adbb85"/>
  <title type="text">Re: C/C++: Determine [My] Module&#39;s Load Address</title>
  <summary type="html" xml:space="preserve">
  Befor you proceed too far, please think that you&#39;re &lt;br&gt; running on a demand-paged virtual-memory system. &lt;br&gt; You did not say it, but I guess that the relevant &lt;br&gt; processor architecture is Intel 386+. &lt;br&gt; The run executables are loaded at the same virtual &lt;br&gt; address, but the real physical addresses will be &lt;br&gt; determined dynamically at run-time. For different
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joe Pfeiffer</name>
  <email>pfeif...@cs.nmsu.edu</email>
  </author>
  <updated>2009-11-08T17:09:56Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/bc58ce46366afe4e/19dd15f1d0f4d34d?show_docid=19dd15f1d0f4d34d</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/bc58ce46366afe4e/19dd15f1d0f4d34d?show_docid=19dd15f1d0f4d34d"/>
  <title type="text">Re: mmap returning MAP_FAILED</title>
  <summary type="html" xml:space="preserve">
  That would do terrible things to the utility of shared memory -- no, &lt;br&gt; MAP_SHARED and PROT_WRITE are compatible. Maybe you&#39;re thinking of &lt;br&gt; MAP_SHARED and MAP_ANONYMOUS (which didn&#39;t used to be compatible, but is &lt;br&gt; since 2.4).
  </summary>
  </entry>
  <entry>
  <author>
  <name>Shankar</name>
  <email>shanka...@gmail.com</email>
  </author>
  <updated>2009-11-08T09:03:23Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/bc58ce46366afe4e/938a378f9944da1a?show_docid=938a378f9944da1a</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/bc58ce46366afe4e/938a378f9944da1a?show_docid=938a378f9944da1a"/>
  <title type="text">Re: mmap returning MAP_FAILED</title>
  <summary type="html" xml:space="preserve">
  prot=3 =&amp;gt; would mean PROT_READ|PROT_WRITE &lt;br&gt; MAP_SHARED I think is a invalid mode if you are trying to map it that &lt;br&gt; way, Probably you may want to remove PROT_WRITE and see whats &lt;br&gt; happening. &lt;br&gt; Thanks &lt;br&gt; Shankar Easwaran
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jeffrey Walton</name>
  <email>noloa...@gmail.com</email>
  </author>
  <updated>2009-11-08T04:36:31Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/29b5176b1a37c3e8?show_docid=29b5176b1a37c3e8</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/29b5176b1a37c3e8?show_docid=29b5176b1a37c3e8"/>
  <title type="text">Re: C/C++: Determine [My] Module&#39;s Load Address</title>
  <summary type="html" xml:space="preserve">
  Lots of objdump and readelf seemed to the trick. You&#39;re right about &lt;br&gt; LOAD - and I also needed flags = PF_R|PF_X to separate the code from &lt;br&gt; the data segment. &lt;br&gt; With LOAD and PF_R|PF_X, I can find it every time. &lt;br&gt; Thanks for your help. I know I have a couple more questions for &lt;br&gt; tomorrow :) &lt;br&gt; Jeff
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alan Curry</name>
  <email>pac...@kosh.dhis.org</email>
  </author>
  <updated>2009-11-08T02:59:33Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/90f6880eeac1326a?show_docid=90f6880eeac1326a</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/90f6880eeac1326a?show_docid=90f6880eeac1326a"/>
  <title type="text">Re: C/C++: Determine [My] Module&#39;s Load Address</title>
  <summary type="html" xml:space="preserve">
  In article &amp;lt;d9c7a43a-46aa-45cd-98f4-059f5 bd6c...@m35g2000vbi.googlegrou ps.com&amp;gt;, &lt;br&gt; I&#39;m not sure what the definition of &amp;quot;module&amp;quot; is where you come from so I &lt;br&gt; can&#39;t translate it. It seems to include &amp;quot;main executable&amp;quot; and &amp;quot;shared &lt;br&gt; library&amp;quot; as subcases. &lt;br&gt; Oh you found a nice function to do the query after all.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jeffrey Walton</name>
  <email>noloa...@gmail.com</email>
  </author>
  <updated>2009-11-08T01:08:33Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/27d88723b2682017?show_docid=27d88723b2682017</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/27d88723b2682017?show_docid=27d88723b2682017"/>
  <title type="text">Re: C/C++: Determine [My] Module&#39;s Load Address</title>
  <summary type="html" xml:space="preserve">
  Hi Alan, &lt;br&gt; My bad. Would &#39;image&#39; be a better term in the Linux world? &lt;br&gt; Agreed. &lt;br&gt; FIPS integrity checks. Locating a particular section in memory is an &lt;br&gt; early smoke test. &lt;br&gt; Agreed. &lt;br&gt; I thought I found the load address in struct r_debug::r_ldbase (from &lt;br&gt; elf.h). But when I iterated the array of r_debugs, I found the base
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alan Curry</name>
  <email>pac...@kosh.dhis.org</email>
  </author>
  <updated>2009-11-07T22:44:08Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/b63a06674909652c?show_docid=b63a06674909652c</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/b63a06674909652c?show_docid=b63a06674909652c"/>
  <title type="text">Re: C/C++: Determine [My] Module&#39;s Load Address</title>
  <summary type="html" xml:space="preserve">
  In article &amp;lt;e5661e7b-0927-4cda-b1e9-65227 4633...@t18g2000vbj.googlegrou ps.com&amp;gt;, &lt;br&gt; That&#39;s because you&#39;re using the word &amp;quot;module&amp;quot; in a foreign way. We don&#39;t use &lt;br&gt; it that way. Here, &amp;quot;module&amp;quot; means kernel module 99.44% of the time. &lt;br&gt; You can probably get what you want by parsing /proc/self/maps. The lack of a
  </summary>
  </entry>
  <entry>
  <author>
  <name>Aragorn</name>
  <email>arag...@chatfactory.invalid</email>
  </author>
  <updated>2009-11-07T17:06:48Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/e1fb5edae86982f1/a88b41e1d31b96e9?show_docid=a88b41e1d31b96e9</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/e1fb5edae86982f1/a88b41e1d31b96e9?show_docid=a88b41e1d31b96e9"/>
  <title type="text">Re: How do I make files and folders inaccessible to the public on a webserver?</title>
  <summary type="html" xml:space="preserve">
  On Saturday 07 November 2009 15:12 in comp.os.linux.security, somebody &lt;br&gt; identifying as Peter Olcott wrote... &lt;br&gt; (1) Make sure Apache - I am assuming Apache as the webserver; substitute &lt;br&gt; by whatever webserver you are running - is not running with root &lt;br&gt; privileges and that it does not have read access to the files.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Unruh</name>
  <email>unruh-s...@physics.ubc.ca</email>
  </author>
  <updated>2009-11-07T16:49:48Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/e1fb5edae86982f1/a666076c1c9ff74c?show_docid=a666076c1c9ff74c</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/e1fb5edae86982f1/a666076c1c9ff74c?show_docid=a666076c1c9ff74c"/>
  <title type="text">Re: How do I make files and folders inaccessible to the public on a webserver?</title>
  <summary type="html" xml:space="preserve">
  By installing passwords? &lt;br&gt; By installing a firewall which allows port 80 access only to the desired &lt;br&gt; webservice? &lt;br&gt; Execute?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Nichols</name>
  <email>see_signat...@localhost.localdomain.invalid</email>
  </author>
  <updated>2009-11-07T16:24:11Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/93d3b2bb7bd9cdaf/de279922e04fcb4a?show_docid=de279922e04fcb4a</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/93d3b2bb7bd9cdaf/de279922e04fcb4a?show_docid=de279922e04fcb4a"/>
  <title type="text">Re: strange thing after moving a directory</title>
  <summary type="html" xml:space="preserve">
  The shell does not know that its current working directory has been &lt;br&gt; renamed. The shell keeps its notion of the current directory in its &lt;br&gt; internal PWD variable. What you run when you just type &amp;quot;pwd&amp;quot; is a shell &lt;br&gt; builtin that just reports the value of $PWD. You would have to run &lt;br&gt; &amp;quot;/bin/pwd&amp;quot; explicitly to see the current name of your working directory.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joe Pfeiffer</name>
  <email>pfeif...@cs.nmsu.edu</email>
  </author>
  <updated>2009-11-07T15:53:03Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/e1fb5edae86982f1/7ace1dbda9621c3c?show_docid=7ace1dbda9621c3c</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/e1fb5edae86982f1/7ace1dbda9621c3c?show_docid=7ace1dbda9621c3c"/>
  <title type="text">Re: How do I make files and folders inaccessible to the public on a webserver?</title>
  <summary type="html" xml:space="preserve">
  All access? Don&#39;t put the files on the server. &lt;br&gt; If you want limited access, look up .htaccess &lt;br&gt; There are many possibilities in between.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jeffrey Walton</name>
  <email>noloa...@gmail.com</email>
  </author>
  <updated>2009-11-07T15:00:27Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/251ee30d852cd7b5?show_docid=251ee30d852cd7b5</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/d66f386a62f4c4da/251ee30d852cd7b5?show_docid=251ee30d852cd7b5"/>
  <title type="text">C/C++: Determine [My] Module&#39;s Load Address</title>
  <summary type="html" xml:space="preserve">
  Hi All, &lt;br&gt; I&#39;m trying to determine my module&#39;s load address at runtime. By &lt;br&gt; &#39;module&#39;s load address&#39;, I mean byte[0] of the in-memory image (ie, &lt;br&gt; the first byte of the Elf32_Ehdr). I believe I want information from &lt;br&gt; the struct module in kernel/modules.c. I did find sys_query_module, &lt;br&gt; but it has been depricated.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Peter Olcott</name>
  <email>nos...@seescreen.com</email>
  </author>
  <updated>2009-11-07T14:12:43Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/e1fb5edae86982f1/b06c9879cf5f44c1?show_docid=b06c9879cf5f44c1</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/e1fb5edae86982f1/b06c9879cf5f44c1?show_docid=b06c9879cf5f44c1"/>
  <title type="text">How do I make files and folders inaccessible to the public on a webserver?</title>
  <summary type="html" xml:space="preserve">
  How do I make files and folders inaccessible to the public &lt;br&gt; on a webserver? &lt;br&gt; I want to allow execute access to a specific webservice, but &lt;br&gt; deny all other access to everything else.
  </summary>
  </entry>
  <entry>
  <author>
  <name>David Schwartz</name>
  <email>dav...@webmaster.com</email>
  </author>
  <updated>2009-11-07T03:52:37Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/bc58ce46366afe4e/1a8c1dee92029f4f?show_docid=1a8c1dee92029f4f</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/bc58ce46366afe4e/1a8c1dee92029f4f?show_docid=1a8c1dee92029f4f"/>
  <title type="text">Re: mmap returning MAP_FAILED</title>
  <summary type="html" xml:space="preserve">
  What exactly do you think mapping a zero-length file would do? &lt;br&gt; DS
  </summary>
  </entry>
  <entry>
  <author>
  <name>Washington Ratso</name>
  <email>jobhunt...@aol.com</email>
  </author>
  <updated>2009-11-07T02:10:02Z</updated>
  <id>http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/bc58ce46366afe4e/ba1d4d377ac4771c?show_docid=ba1d4d377ac4771c</id>
  <link href="http://groups.google.com.au/group/comp.os.linux.development.system/browse_thread/thread/bc58ce46366afe4e/ba1d4d377ac4771c?show_docid=ba1d4d377ac4771c"/>
  <title type="text">Re: mmap returning MAP_FAILED</title>
  <summary type="html" xml:space="preserve">
  I am trying to get oprofile to work. The file I am opening is a &lt;br&gt; sample file. Here is the code for the open: &lt;br&gt; data-&amp;gt;fd = open(filename, flags, 0644); &lt;br&gt; where filename = &amp;quot;/var/lib/oprofile/samples//cu rrent/{kern}/no-vmlinux/ &lt;br&gt; {dep}/{kern}/no-vmlinux/TIMER. 0.0.all.all.all&amp;quot; &lt;br&gt; where flags = O_CREAT | O_RDWR &lt;br&gt; The file /var/lib/oprofile/samples//cur rent/{kern}/no-vmlinux/{dep}/
  </summary>
  </entry>
</feed>
