JustKernel

Ray Of Hope

software TPM .

swTPM: SWTPM package provides TPM emulators with different front-end interfaces to libtpms. TPM emulators provide socket interfaces (TCP/IP) and the Linux CUSE interface for the creation of multiple native /dev/vtpm* devices. Those can be the targets of multiple QEMU cuse-tpm instances. https://github.com/stefanberger/swtpm, master branch. tpm2 branch for TPM 2.0 implementation. tpm-tools: tpm-tools is an open-source […]

Posted in Uncategorized | No Comments

Interpreting MBR and calculation disk and partition sizes

Today, I was debugging a file system filter driver and noted that Windows OS generating reads for disk offsets that that were greater than size of track zero (MBR) and less than start of first partition. I couldn’t figure out what lies in this unknown area. Basically the disk that I report to OS has […]

Posted in Uncategorized | No Comments

security throught TPM

Security Through vTPM What is TPM: A Trusted Platform Module (TPM) is a microchip that is connected to the motherboard of a computer. The intent of a TPM is to create and store cryptographic keys, like RSA keys. One of the main function of the TPM is to measure the components loaded before the operating […]

Posted in Uncategorized | No Comments

ZwReadFile and FltReadFile

Today I was working on mini filter driver which required me to copy some data from one file to other. Looked quite a simple operation with ZwReadFile doing the reading and ZwWritefile to write the data. But then I noticed that after doing few reads and write ZwReadFile hanged. Interesting…. Added few traces before and […]

Posted in Basic C, Microsoft Internals | No Comments

interrupt path xen

interrupt generated by the hardware. based on the static interrupt routing configuration provided by ACPI table at boot time, the corresponding link is selected. Interrupt is delivered to IO-APIC. Most modern days IO-APICs converts interrupt to msi i.e memory writes to specfic address in LAPIC name space . Each interrupt is mapped to a specific […]

Posted in Uncategorized, virtualization, Xen | No Comments

secure Xen throught XSM

XSM (Xen Security Modules) is security frame provided by Xen to secure Xen domains. The implementation of the framework lies within FLASK (Flux Advanced Security Kernel) policies. XSM is the policy definition entity while FLASK is an enforcement engine. Aspects of domain(s) that can be controlled: 1) interaction between domains (domU vs domU / dom0 […]

Posted in Uncategorized, virtualization, Xen | No Comments

Artificial Intelligence – The real intelligence behind it.

I have been doing research in the field of AI: going through various tutorials, studying the maths behind them and writing simple programs that uses different models to predict outcome. I have been disturbed by the hype and marketing that have been associated with the term. Some uninformed people or may be companies create this […]

Posted in Artificial Intelligence, Deep Learning, Machine Learning | No Comments

dynamic scheduler that can self-learn – 2

On thinking further (based on the earlier article: http://www.justkernel.com/Blogs/?p=322), I am not sure whether what I described is just an optimization or learning. I have a data and the prediction confirms to the set of the data that I have. That is just an optimization and not learning. But what I need is some model […]

Posted in Uncategorized | No Comments

dynamic scheduler that can self-learn

I want to make scheduler dynamic so that it can give maximum performance based on the different workload by adjusting its configuration. To start with a simple case I have chosen runqueu configuration. Problem Statement : Consider a simple usecase: The person who doesn’t have much knowledge about the scheduler will have a hard time […]

Posted in Xen | No Comments

Introduction of runqueue per cpupool for credit2 scheduler – Xen

Current infrastructure in Xen allows only a global runqueue flags that will be applicable to all the cpupools (schedulers, there is 1:1 correspondence between cpupools and scheduler instance running in a system). for eg. if we have selected configuration of runqueue as socket, then all the cpupools created will have the runqueue per cpupool. This […]

Posted in Xen | No Comments