From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Raj J Putari <jmaharaj2013@gmail.com>,
LKML <linux-kernel@vger.kernel.org>
Cc: Willy Tarreau <w@1wt.eu>
Subject: Re: programming tips
Date: Tue, 25 Apr 2023 20:12:03 +0700 [thread overview]
Message-ID: <ZEfRozHy0Gi5H6LS@debian.me> (raw)
In-Reply-To: <CADXzsihkMLoWoPh+WfF99HkvVUGNtD44nEor8Fqg38z1Coi3HQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
On Tue, Apr 25, 2023 at 04:07:27AM -0700, Raj J Putari wrote:
> i can do
> int x = cpu_read(code) = return_value_that_you_seek;
Is it same as:
```
int x = cpu_read(foo)
if x == <desired return value> {
/* do something */
}
```
?
>
> additionally i feel that, with security, that there should be a local
> sql server tied to the linux kernel, so you can do stuff like easily
> share data in a lan
Implementing SQL language in the kernel? Making MySQL/PostgreSQL/SQLite
obsolete? How about prepared statements and input sanitation? Last but
not least, why is it hard for you to use wrapper libraries to SQL in
your userspace program to the point that you want kernelSQL?
I'm confused...
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2023-04-25 13:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-25 11:07 programming tips Raj J Putari
2023-04-25 13:12 ` Bagas Sanjaya [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZEfRozHy0Gi5H6LS@debian.me \
--to=bagasdotme@gmail.com \
--cc=jmaharaj2013@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=w@1wt.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox