Displaying 5 results from an estimated 5 matches for "583747".
Did you mean:
513747
2010 Apr 19
1
[PATCH matahari] Replaces the existing HAL code for ProcessorAgent with udev.
...>
-#include <sstream>
-#include <string>
-#include <vector>
-#include <stdexcept>
-
-#include <hal/libhal.h>
-
+#include <iostream>
#include <pcre.h>
-#include "hal.h"
-#include "processors.h"
+// TODO remove this wrapper once rhbz#583747 is fixed
+extern "C" {
+#include <libudev.h>
+}
using namespace std;
namespace _qmf = qmf::com::redhat::matahari;
-extern DBusError dbus_error;
-
void
ProcessorsAgent::setup(ManagementAgent* agent, Manageable* parent)
{
@@ -43,17 +37,79 @@ ProcessorsAgent::setup(ManagementA...
2010 Apr 21
1
[PATCH matahari] Created a new platform-abstraction layer named Platform.
...Floor, Boston,
+ * MA 02110-1301, USA. A copy of the GNU General Public License is
+ * also available at http://www.gnu.org/copyleft/gpl.html.
+ */
+
+#include <fstream>
+#include <iostream>
+#include <pcre.h>
+#include <stdexcept>
+
+// TODO remove this wrapper once rhbz#583747 is fixed
+extern "C" {
+#include <libudev.h>
+}
+
+#include "linux_platform.h"
+
+LinuxPlatform::LinuxPlatform()
+{
+ int core_count = 0;
+ string model = "unknown";
+
+ struct udev* udev = udev_new();
+ struct udev_enumerate* enumerator = udev_enumerate_new(...
2002 Aug 13
1
Migrating NT files (with users/groups) to Linux Samba with ACL kernel patch.
Whoa. Long subject - still, it basically says it all:
I have an NT PDC and an NT fileserver. I've also got a Linux box
compiled with the ACL patches from acl.bestbits.at and I've got Samba
2.2.5 (--with-acl-support) configured to be a PDC on that box. I've put
all my machines and users in LDAP and the Linux box' PAM configuration
is also told to look for passwords/users in
2010 Apr 26
0
[PATCH matahari] Created the NetworkDevice agent.
...18,14 @@
*/
#include <fstream>
+#include <iomanip>
#include <iostream>
+#include <dirent.h>
+#include <net/if.h>
#include <pcre.h>
#include <stdexcept>
+#include <string.h>
+#include <sys/ioctl.h>
// TODO remove this wrapper once rhbz#583747 is fixed
extern "C" {
@@ -115,3 +120,68 @@ LinuxPlatform::get_load_average() const
return load_average;
}
+
+vector<NetworkDeviceAgent>
+LinuxPlatform::get_network_devices() const
+{
+ vector<NetworkDeviceAgent> result;
+
+ DIR* entries = opendir("/sys/class/net&...
2010 Apr 26
2
Patch supercedes previous patch...
In looking at the code I realized that the last of the HAL depenencies were
removed with this patch. So, I'm pushing an updated patch that contains
none of the HAL code in it.