共查询到19条相似文献,搜索用时 515 毫秒
1.
2.
获取Android系统服务关键信息有利于实现对Android系统的漏洞挖掘和安全评估。为解决当前系统服务关键信息获取方法存在系统源码依赖度高、兼容性差导致的信息获取不全面的问题,提出一种Android系统服务信息分层获取方法。该方法通过在Android系统的应用层、框架层和内核层分别建立完整的Binder通信行为监控视图,解析服务依赖关系、服务进程信息与接口参数规范,在不依赖源码的前提下实现系统服务关键信息的自动化获取。在多个Android设备中进行系统服务关键信息获取实验,结果表明该方法能全面地获取多项系统服务关键信息,具备更强的实用性。 相似文献
3.
郭锐锋 《小型微型计算机系统》1995,16(1):42-45
本文提出了一种在用户层获取UNIX系统内核信息的方法,并介绍了笔者用这种方法实现的一个获取UNIX系统中的索引结点表的实用程序。 相似文献
4.
Linux中用户空间与内核空间的通信实现 总被引:2,自引:0,他引:2
在Linux环境下开发程序时,有时需要交换用户空间与内核空间的数据,以及对用户空间和内核空间的数据进行通信等处理。一般情况下.比较常用的两种方法为创建/proc文件与注册字符设备驱动文件。文中在实验的基础上对这两种方法的实现框架进行了研究,对它们各自的优缺点做了深入的分析。实验结果显示,两者的效率与性能上/proc要略高于字符设备文件。最后得出如下结论:设备驱动文件模块化程度高,容易掌握,也是比较常见的方法,而/proc文件则比较灵活,同时也比较复杂,一般用来读取内核的信息。 相似文献
5.
/proc文件系统是一个特殊的、由软件创建的文件系统,内核使用此文件系统可以向外部输出信息.在进行Linux和实时应用程序开发时,用户经常会使用内核变量,获取内核信息.文章分析了利用/proc文件系统获取内核信息的方法以及/proc文件系统在实时系统RTAI中的应用. 相似文献
6.
7.
8.
产业融合是需求市场发展的必然 在人们日常的信息需求中,主要可以分为两类:一类是以电话为代表的双向交流的互动式信息,另一类是以报纸、电视为代表的单向的广播式信息,它们分别是电信和媒体两个不同产业的用户表现形式,也是人们对信息需求的不同获取方式。 随着通信与网络技术的不断发展,原本两种不同类别的需求信息在通信技术这强力催化剂的作用下,两种信息代表的两个产业发生了融合。至此,用户获得了第三种综合性的信息获取渠道,通过一种媒介渠道同时获得原先各自分离的两种不同形式的信息。这就是对传统的电信产业和媒体产业融合最 相似文献
9.
10.
在Linux环境下开发程序时,有时需要交换用户空间与内核空间的数据,以及对用户空间和内核空间的数据进行通信等处理.一般情况下,比较常用的两种方法为创建/proc文件与注册字符设备驱动文件.文中在实验的基础上对这两种方法的实现框架进行了研究,对它们各自的优缺点做了深入的分析.实验结果显示,两者的效率与性能上/proc要略高于字符设备文件.最后得出如下结论:设备驱动文件模块化程度高,容易掌握,也是比较常见的方法,而/proc文件则比较灵活,同时也比较复杂,一般用来读取内核的信息. 相似文献
11.
12.
介绍了Internet密钥交换协议(Internet Key Exchange,IKE)在IPSEC中的地位和作用,分析了IKE协商安全关联(SA)的过程;提出了IKE在Linux系统中的实现方案,着重分析了进程与内核之间进行通信所采用的消息队列的实现方法。 相似文献
13.
提出了一种半虚拟化网络模型来优化虚拟机域间通信的性能,通过共享内存建立通信通道来打破虚拟机之前的隔离屏障,减少在数据传输过程中的拷贝次数.基于内核虚拟机(kernel-based virtual machine,KVM)半虚拟化框架编程接口的实现方法可以简化设备I/O的模拟,减少特权指令模拟所需的根-非根模式的切换,提... 相似文献
14.
Liss L. Birk Y. Schuster A. 《Parallel and Distributed Systems, IEEE Transactions on》2005,16(9):830-840
The infiniband (IB) system area network (SAN) enables applications to access hardware directly from user level, reducing the overhead of user-kernel crossings during data transfer. However, distributed applications that exhibit close coupling between network and OS services may benefit from accessing IB from the kernel through IB's native verbs interface, which permits tight integration of these services. We assess this approach using a sequential-consistency distributed shared memory (DSM) system as an example. We first develop primitives that abstract the low-level communication and kernel details, and efficiently serve the application's communication, memory, and scheduling needs. Next, we combine the primitives to form a kernel DSM protocol. The approach is evaluated using our full-fledged Linux kernel DSM implementation over infiniband. We show that overheads are reduced substantially, and overall application performance is improved in terms of both absolute execution time and scalability relative to an entirely user level implementation. 相似文献
15.
设计并实现了一种Linux平台上基于包过滤的网络流量采集系统PFC。PFC系统主要通过在内核空间实现数据包的过滤、合并,以及实现了用户空间和内核空间的内存共享,从而突破了传统上基于包过滤网络流量采集系统的性能瓶颈。 相似文献
16.
Enrique Soriano‐Salvador Gorka Guardiola Muzquiz Francisco J. Ballesteros 《Concurrency and Computation》2015,27(14):3676-3701
The Nix operating system permits different roles to be assigned to the cores. One of the roles is to be able to run user‐space code with no interrupts from the operating system, which is particularly useful for high‐performance computing. System calls are especially expensive to a core playing this role. This paper presents a new implementation of optimistic semaphores that avoid performing expensive system calls in an uncontended scenario. The implementation is straightforward and somewhat unorthodox: a semaphore is based on a data structure and a lock that are shared between user space and kernel space. This study aims at evaluating if such an approach is viable. In addition, the implementation includes a non‐deterministic choice operation over a collection of semaphores, altsems. This novel operation facilitates the creation of higher‐level communication mechanisms, such as sockets and channels. To support this claim, we implemented a new kind of buffered communication channels named tubes, tailored for communicating processes running on different (heterogeneous) cores. The paper describes the implementation of the semaphores and the tubes, a comparative analysis of optimistic and non‐optimistic semaphores on Nix, and a comparative analysis of tubes and other kinds of communication channels that are available on the Nix operating system. Copyright © 2014 John Wiley & Sons, Ltd. 相似文献
17.
18.
19.
Virtual Interface(VI)Architecture是一种受保护的用户级通信机制,它能够提供高的传送带宽,显著降低消息延迟.VI Architecture(VIA)通过消除数据传输过程中用户态和核心态之间上下文切换、将应用程序空间直接作为网络数据缓存来降低通信开销.本文对VIA的发展作了回顾,给出了VI的实现方法.将VIA和传统网络体系结构的特性进行了比较,讨论了VI实现的若干问题.最后讨论了与VIA相关的技术的发展情况. 相似文献